[][src]Struct huemanity::lightstructs::Light

pub struct Light {
    pub state: LightState,
    pub type: String,
    pub name: String,
    pub modelid: String,
    pub manufacturername: String,
    pub productname: String,
    pub uniqueid: String,
    pub swversion: String,
    pub swconfigid: String,
    pub productid: String,
    // some fields omitted
}

Light object representing the complete state of a light

Fields

state: LightStatetype: Stringname: Stringmodelid: Stringmanufacturername: Stringproductname: Stringuniqueid: Stringswversion: Stringswconfigid: Stringproductid: String

Trait Implementations

impl Debug for Light[src]

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

impl Display for Light[src]

impl Serialize for Light[src]

Auto Trait Implementations

impl RefUnwindSafe for Light

impl Send for Light

impl Sync for Light

impl Unpin for Light

impl UnwindSafe for Light

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

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

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