[][src]Struct ics::FreeBusy

pub struct FreeBusy<'a>(_);

The VFREEBUSY calendar component

A FreeBusy component is a grouping of component properties that represents either a request for free or busy time information, a reply to a request for free or busy time information, or a published set of busy time information. (see RFC5545 3.6.4. Free/Busy Component Component)

Implementations

impl<'a> FreeBusy<'a>[src]

pub fn new<U, D>(uid: U, dtstamp: D) -> Self where
    U: Into<Cow<'a, str>>,
    D: Into<Cow<'a, str>>, 
[src]

Creates a new VFREEBUSY calendar component. The UID and DTSTAMP properties are required. A UID should be generated randomly for security reasons.

pub fn push<P>(&mut self, property: P) where
    P: Into<Property<'a>>, 
[src]

Adds a property to the free busy schedule. The RFC5545 specifies which properties can be added to a free busy schedule.

Trait Implementations

impl<'a> Clone for FreeBusy<'a>[src]

impl<'a> Debug for FreeBusy<'a>[src]

impl<'a> Display for FreeBusy<'a>[src]

impl<'a> Eq for FreeBusy<'a>[src]

impl<'a> From<FreeBusy<'a>> for Component<'a>[src]

impl<'a> Hash for FreeBusy<'a>[src]

impl<'a> Ord for FreeBusy<'a>[src]

impl<'a> PartialEq<FreeBusy<'a>> for FreeBusy<'a>[src]

impl<'a> PartialOrd<FreeBusy<'a>> for FreeBusy<'a>[src]

impl<'a> StructuralEq for FreeBusy<'a>[src]

impl<'a> StructuralPartialEq for FreeBusy<'a>[src]

Auto Trait Implementations

impl<'a> RefUnwindSafe for FreeBusy<'a>

impl<'a> Send for FreeBusy<'a>

impl<'a> Sync for FreeBusy<'a>

impl<'a> Unpin for FreeBusy<'a>

impl<'a> UnwindSafe for FreeBusy<'a>

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.