[][src]Enum huelib::resource::LastScan

pub enum LastScan {
    DateTime(NaiveDateTime),
    Active,
    None,
}

Status of the last scan for a new resource type.

Variants

DateTime(NaiveDateTime)

Date and time of the last scan.

Active

The bridge is currently scanning.

None

The bridge did not scan since it was powered on.

Trait Implementations

impl Clone for LastScan[src]

impl Debug for LastScan[src]

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

impl Eq for LastScan[src]

impl PartialEq<LastScan> for LastScan[src]

impl StructuralEq for LastScan[src]

impl StructuralPartialEq for LastScan[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.