pub struct VCalendar {
pub version: String,
pub prodid: String,
pub calscale: Option<String>,
pub method: Option<String>,
pub events: Vec<VEvent>,
pub unrecognized_components: Vec<RawComponent>,
}Fields§
§version: StringRequired RFC field. Typically "2.0".
prodid: StringRequired RFC field. Producer ID, e.g. -//makeholiday//EN.
calscale: Option<String>Optional RFC field. Calendar scale; almost always GREGORIAN.
method: Option<String>Optional RFC field. Method (e.g. PUBLISH, REQUEST).
events: Vec<VEvent>Typed events in this calendar.
unrecognized_components: Vec<RawComponent>Calendar-level components the typed model does not understand
(e.g. VTIMEZONE, VJOURNAL). Preserved verbatim per ADR-018.
Implementations§
Trait Implementations§
impl StructuralPartialEq for VCalendar
Auto Trait Implementations§
impl Freeze for VCalendar
impl RefUnwindSafe for VCalendar
impl Send for VCalendar
impl Sync for VCalendar
impl Unpin for VCalendar
impl UnsafeUnpin for VCalendar
impl UnwindSafe for VCalendar
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