Struct huelib::resource::resourcelink::Resourcelink [−][src]
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>,
}
Expand description
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
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for Resourcelink
impl Send for Resourcelink
impl Sync for Resourcelink
impl Unpin for Resourcelink
impl UnwindSafe for Resourcelink
Blanket Implementations
Mutably borrows from an owned value. Read more