Struct librojo::web_api::Instance[][src]

pub struct Instance<'a> {
    pub id: Ref,
    pub parent: Ref,
    pub name: Cow<'a, str>,
    pub class_name: Cow<'a, str>,
    pub properties: HashMap<String, Cow<'a, Variant>>,
    pub children: Cow<'a, [Ref]>,
    pub metadata: Option<InstanceMetadata>,
}

Fields

id: Refparent: Refname: Cow<'a, str>class_name: Cow<'a, str>properties: HashMap<String, Cow<'a, Variant>>children: Cow<'a, [Ref]>metadata: Option<InstanceMetadata>

Trait Implementations

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

impl<'de, 'a> Deserialize<'de> for Instance<'a>[src]

impl<'a> Serialize for Instance<'a>[src]

Auto Trait Implementations

impl<'a> RefUnwindSafe for Instance<'a>[src]

impl<'a> Send for Instance<'a>[src]

impl<'a> Sync for Instance<'a>[src]

impl<'a> Unpin for Instance<'a>[src]

impl<'a> UnwindSafe for Instance<'a>[src]

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

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

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

impl<T> Same<T> for T

type Output = T

Should always be Self

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.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

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

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,