[−][src]Struct icalendar::Venue
VVENUE (ical-venue)
Methods
impl Venue
[src]
pub fn new() -> Self
[src]
Creates a new Venue.
pub fn done(&mut self) -> Self
[src]
End of builder pattern. copies over everything
pub fn street_address(&mut self, address: &str) -> &mut Self
[src]
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".
pub fn extended_address(&mut self, address: &str) -> &mut Self
[src]
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".
pub fn locality(&mut self, locality: &str) -> &mut Self
[src]
Set the LOCALITY Property
This specifies the city or locality of a venue.
pub fn region(&mut self, region: &str) -> &mut Self
[src]
Set the REGION Property
This specifies the region (state, province, canton, etc.) of a location.
pub fn country(&mut self, country: &str) -> &mut Self
[src]
Set the COUNTRY Property
This specifies the country of a location.
pub fn postal_code(&mut self, postal_code: &str) -> &mut Self
[src]
Set the POSTAL-CODE Property
This specifies the postal code of a location.
Trait Implementations
impl Component for Venue
[src]
fn component_kind() -> &'static str
[src]
Tells you what kind of Component
this is
Might be VEVENT
, VTODO
, VALARM
etc
fn properties(&self) -> &BTreeMap<String, Property>
[src]
Read-only access to properties
fn multi_properties(&self) -> &Vec<Property>
[src]
Read-only access to multi_properties
fn append_property(&mut self, property: Property) -> &mut Self
[src]
Adds a Property
fn append_multi_property(&mut self, property: Property) -> &mut Self
[src]
Adds a Property
of which there may be many
fn fmt_write<W: Write>(&self, out: &mut W) -> Result<(), Error>
[src]
fn to_string(&self) -> String
[src]
fn add_property(&mut self, key: &str, val: &str) -> &mut Self
[src]
fn add_multi_property(&mut self, key: &str, val: &str) -> &mut Self
[src]
fn starts<T: Into<CalendarDateTime>>(&mut self, dt: T) -> &mut Self
[src]
fn ends<T: Into<CalendarDateTime>>(&mut self, dt: T) -> &mut Self
[src]
fn start_date<TZ: TimeZone>(&mut self, date: Date<TZ>) -> &mut Self where
TZ::Offset: Display,
[src]
TZ::Offset: Display,
fn end_date<TZ: TimeZone>(&mut self, date: Date<TZ>) -> &mut Self where
TZ::Offset: Display,
[src]
TZ::Offset: Display,
fn all_day<TZ: TimeZone>(&mut self, date: Date<TZ>) -> &mut Self where
TZ::Offset: Display,
[src]
TZ::Offset: Display,
fn priority(&mut self, priority: u32) -> &mut Self
[src]
fn print(&self) -> Result<(), Error>
[src]
fn summary(&mut self, desc: &str) -> &mut Self
[src]
fn description(&mut self, desc: &str) -> &mut Self
[src]
fn location(&mut self, location: &str) -> &mut Self
[src]
fn venue(&mut self, location: &str, venue_uid: &str) -> &mut Self
[src]
fn uid(&mut self, uid: &str) -> &mut Self
[src]
fn class(&mut self, class: Class) -> &mut Self
[src]
impl Debug for Venue
[src]
impl Default for Venue
[src]
Auto Trait Implementations
impl RefUnwindSafe for Venue
impl Send for Venue
impl Sync for Venue
impl Unpin for Venue
impl UnwindSafe for Venue
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,