mirror of
https://github.com/lennart-k/rustical.git
synced 2025-12-14 05:52:19 +00:00
@@ -11,8 +11,8 @@ use std::{collections::HashMap, str::FromStr};
|
||||
|
||||
#[derive(Debug, Clone)]
|
||||
pub struct EventObject {
|
||||
pub(crate) event: IcalEvent,
|
||||
pub(crate) timezones: HashMap<String, IcalTimeZone>,
|
||||
pub event: IcalEvent,
|
||||
pub timezones: HashMap<String, IcalTimeZone>,
|
||||
pub(crate) ics: String,
|
||||
}
|
||||
|
||||
|
||||
@@ -136,6 +136,10 @@ impl CalendarObject {
|
||||
))
|
||||
}
|
||||
|
||||
pub fn get_data(&self) -> &CalendarObjectComponent {
|
||||
&self.data
|
||||
}
|
||||
|
||||
pub fn get_id(&self) -> &str {
|
||||
&self.id
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user