[][src]Enum rustpub::simple::properties::Closed

pub enum Closed {
    None,
    Object(Box<Object>),
    Objects(Vec<Box<Object>>),
    Link(Box<Link>),
    Links(Vec<Box<Link>>),
    Datetime(NaiveDateTime),
    Datetimes(Vec<NaiveDateTime>),
    Bool(bool),
    Bools(Vec<bool>),
}

Variants

None
Object(Box<Object>)
Objects(Vec<Box<Object>>)
Datetime(NaiveDateTime)
Datetimes(Vec<NaiveDateTime>)
Bool(bool)
Bools(Vec<bool>)

Trait Implementations

impl ActivitypubProperty for Closed[src]

impl Clone for Closed[src]

impl Debug for Closed[src]

impl Default for Closed[src]

impl<'de> Deserialize<'de> for Closed[src]

impl From<Box<Link>> for Closed[src]

impl From<Box<Object>> for Closed[src]

impl From<NaiveDateTime> for Closed[src]

impl From<Vec<Box<Link>>> for Closed[src]

impl From<Vec<Box<Object>>> for Closed[src]

impl From<Vec<NaiveDateTime>> for Closed[src]

impl From<Vec<bool>> for Closed[src]

impl From<bool> for Closed[src]

impl Serialize for Closed[src]

Auto Trait Implementations

impl RefUnwindSafe for Closed

impl Send for Closed

impl Sync for Closed

impl Unpin for Closed

impl UnwindSafe for Closed

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> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]

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

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

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

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

type Owned = T

The resulting type after obtaining ownership.

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.