pub struct Event { /* private fields */ }
Expand description
VEVENT (RFC 5545, Section 3.6.1 )
Implementations§
source§impl Event
impl Event
sourcepub fn status(&mut self, status: EventStatus) -> &mut Self
pub fn status(&mut self, status: EventStatus) -> &mut Self
Defines the overall status or confirmation
sourcepub fn get_status(&self) -> Option<EventStatus>
pub fn get_status(&self) -> Option<EventStatus>
Gets the overall status or confirmation.
Trait Implementations§
source§impl Component for Event
impl Component for Event
source§fn component_kind(&self) -> String
fn component_kind(&self) -> String
source§fn components(&self) -> &[Other]
fn components(&self) -> &[Other]
Read-only access to properties
source§fn multi_properties(&self) -> &Vec<Property>
fn multi_properties(&self) -> &Vec<Property>
Read-only access to multi_properties
source§fn append_multi_property(&mut self, property: impl Into<Property>) -> &mut Self
fn append_multi_property(&mut self, property: impl Into<Property>) -> &mut Self
Adds a Property
of which there may be many
source§fn try_into_string(&self) -> Result<String, Error>
fn try_into_string(&self) -> Result<String, Error>
Serializes this component into
rfc5545
againsource§fn add_property_pre_alloc(&mut self, key: String, val: String) -> &mut Self
fn add_property_pre_alloc(&mut self, key: String, val: String) -> &mut Self
Construct and append a
Property
source§fn add_multi_property(&mut self, key: &str, val: &str) -> &mut Self
fn add_multi_property(&mut self, key: &str, val: &str) -> &mut Self
Construct and append a
Property
source§fn get_summary(&self) -> Option<&str>
fn get_summary(&self) -> Option<&str>
Gets the summary
source§fn description(&mut self, desc: &str) -> &mut Self
fn description(&mut self, desc: &str) -> &mut Self
Set the description
source§fn get_description(&self) -> Option<&str>
fn get_description(&self) -> Option<&str>
Gets the description
source§fn get_sequence(&self) -> Option<u32>
fn get_sequence(&self) -> Option<u32>
Gets the SEQUENCE
source§impl EventLike for Event
impl EventLike for Event
source§fn venue(&mut self, location: &str, venue_uid: &str) -> &mut Self
fn venue(&mut self, location: &str, venue_uid: &str) -> &mut Self
Set the LOCATION with a VVENUE UID
iCalender venue draft
source§fn get_location(&self) -> Option<&str>
fn get_location(&self) -> Option<&str>
Gets the location