pub struct ICalendar {
pub components: Vec<ICalendarComponent>,
}Fields§
§components: Vec<ICalendarComponent>Implementations§
Source§impl ICalendar
impl ICalendar
pub fn remove_component_ids(&mut self, component_ids: &[u32])
pub fn copy_timezones(&mut self, other: &ICalendar)
Source§impl ICalendar
impl ICalendar
pub fn expand_dates( &self, default_tz: impl Into<Tz>, limit: usize, ) -> CalendarExpand
Source§impl ICalendar
impl ICalendar
pub fn timezones(&self) -> impl Iterator<Item = &ICalendarComponent>
pub fn is_timezone(&self) -> bool
pub fn build_tz_resolver(&self) -> TzResolver<&str>
pub fn build_owned_tz_resolver(&self) -> TzResolver<String>
Source§impl ICalendar
impl ICalendar
pub fn uids(&self) -> impl Iterator<Item = &str>
pub fn size(&self) -> usize
pub fn component_by_id(&self, id: u32) -> Option<&ICalendarComponent>
pub fn alarms_for_id( &self, id: u32, ) -> impl Iterator<Item = &ICalendarComponent>
Source§impl ICalendar
impl ICalendar
pub fn push_component(&mut self, component: ICalendarComponent) -> u32
Source§impl ICalendar
impl ICalendar
pub fn into_jscalendar<I: JSCalendarId, B: JSCalendarId>( self, ) -> JSCalendar<'static, I, B>
pub fn into_jscalendar_with_opt<I: JSCalendarId, B: JSCalendarId>( self, options: ConversionOptions, ) -> JSCalendar<'static, I, B>
Trait Implementations§
Source§impl<'de> Deserialize<'de> for ICalendar
impl<'de> Deserialize<'de> for ICalendar
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for ICalendar
impl StructuralPartialEq for ICalendar
Auto Trait Implementations§
impl Freeze for ICalendar
impl RefUnwindSafe for ICalendar
impl Send for ICalendar
impl Sync for ICalendar
impl Unpin for ICalendar
impl UnwindSafe for ICalendar
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more