pub struct Venue { /* private fields */ }
Expand description
VVENUE (ical-venue)
Implementations§
source§impl Venue
impl Venue
sourcepub fn street_address(&mut self, address: &str) -> &mut Self
pub fn street_address(&mut self, address: &str) -> &mut Self
Set the STREET-ADDRESS Property
This specifies the street address of a location. If the location requires a multiple-line address, they may be separated by an encoded newline “\n”.
sourcepub fn get_street_address(&self) -> Option<&str>
pub fn get_street_address(&self) -> Option<&str>
Gets the value of the STREET-ADDRESS Property
.
sourcepub fn extended_address(&mut self, address: &str) -> &mut Self
pub fn extended_address(&mut self, address: &str) -> &mut Self
Set the EXTENDED-ADDRESS Property
This property provides the opportunity to include extended address information for a location. This property may be used to give additional information about an address that is not usually considered part of the street address. If the location requires a multiple-line address, they may be separated by an encoded newline “\n”.
sourcepub fn get_extended_address(&self) -> Option<&str>
pub fn get_extended_address(&self) -> Option<&str>
Gets the value of the EXTENDED-ADDRESS Property
.
sourcepub fn locality(&mut self, locality: &str) -> &mut Self
pub fn locality(&mut self, locality: &str) -> &mut Self
Set the LOCALITY Property
This specifies the city or locality of a venue.
sourcepub fn get_locality(&self) -> Option<&str>
pub fn get_locality(&self) -> Option<&str>
Gets the value of the LOCALITY Property
.
sourcepub fn region(&mut self, region: &str) -> &mut Self
pub fn region(&mut self, region: &str) -> &mut Self
Set the REGION Property
This specifies the region (state, province, canton, etc.) of a location.
sourcepub fn get_region(&self) -> Option<&str>
pub fn get_region(&self) -> Option<&str>
Gets the value of the REGION Property
.
sourcepub fn country(&mut self, country: &str) -> &mut Self
pub fn country(&mut self, country: &str) -> &mut Self
Set the COUNTRY Property
This specifies the country of a location.
sourcepub fn get_country(&self) -> Option<&str>
pub fn get_country(&self) -> Option<&str>
Gets the value of the COUNTRY Property
.
sourcepub fn postal_code(&mut self, postal_code: &str) -> &mut Self
pub fn postal_code(&mut self, postal_code: &str) -> &mut Self
Set the POSTAL-CODE Property
This specifies the postal code of a location.
sourcepub fn get_postal_code(&self) -> Option<&str>
pub fn get_postal_code(&self) -> Option<&str>
Gets the value of the POSTAL-CODE Property
.
Trait Implementations§
source§impl Component for Venue
impl Component for Venue
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) -> &BTreeMap<String, Vec<Property>>
fn multi_properties(&self) -> &BTreeMap<String, 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>
rfc5545
againsource§fn add_property(
&mut self,
key: impl Into<String>,
val: impl Into<String>,
) -> &mut Self
fn add_property( &mut self, key: impl Into<String>, val: impl Into<String>, ) -> &mut Self
Property
source§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
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
Property
source§fn get_summary(&self) -> Option<&str>
fn get_summary(&self) -> Option<&str>
source§fn description(&mut self, desc: &str) -> &mut Self
fn description(&mut self, desc: &str) -> &mut Self
source§fn get_description(&self) -> Option<&str>
fn get_description(&self) -> Option<&str>
source§fn get_sequence(&self) -> Option<u32>
fn get_sequence(&self) -> Option<u32>
source§fn get_last_modified(&self) -> Option<DateTime<Utc>>
fn get_last_modified(&self) -> Option<DateTime<Utc>>
LAST_MODIFIED
property.source§impl From<Venue> for CalendarComponent
impl From<Venue> for CalendarComponent
source§impl PartialEq for Venue
impl PartialEq for Venue
impl Eq for Venue
impl StructuralPartialEq for Venue
Auto Trait Implementations§
impl Freeze for Venue
impl RefUnwindSafe for Venue
impl Send for Venue
impl Sync for Venue
impl Unpin for Venue
impl UnwindSafe for Venue
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)