[][src]Struct huelib::resource::resourcelink::Resourcelink

pub struct Resourcelink {
    pub id: String,
    pub name: String,
    pub description: String,
    pub owner: String,
    pub kind: Kind,
    pub class_id: u16,
    pub recycle: bool,
    pub links: Vec<Link>,
}

A resourcelink to group resources in the bridge.

Fields

id: String

Identifier of the resourcelink.

name: String

Name of the resourcelink.

description: String

Description of the resourcelink.

owner: String

Owner of the resourcelink.

kind: Kind

Kind of the resourcelink.

class_id: u16

Class identifier of the resourcelink.

recycle: bool

Whether the resource is automatically deleted when not referenced anymore.

links: Vec<Link>

References to resources which are used by this resourcelink.

Trait Implementations

impl Clone for Resourcelink[src]

impl Debug for Resourcelink[src]

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

impl Eq for Resourcelink[src]

impl PartialEq<Resourcelink> for Resourcelink[src]

impl Resource for Resourcelink[src]

impl StructuralEq for Resourcelink[src]

impl StructuralPartialEq for Resourcelink[src]

Auto Trait Implementations

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> 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.