[][src]Struct huelib::resource::config::SoftwareUpdate

pub struct SoftwareUpdate {
    pub state: SoftwareUpdateState,
    pub check: bool,
    pub auto_install: SoftwareUpdateAutoInstall,
    pub last_change: Option<NaiveDateTime>,
    pub last_install: Option<NaiveDateTime>,
}

Information about software updates.

Fields

state: SoftwareUpdateState

State of software updates.

check: bool

Triggers checking for software updates.

auto_install: SoftwareUpdateAutoInstall

Configuration for automatically updating.

last_change: Option<NaiveDateTime>

Time of last change in system configuration.

last_install: Option<NaiveDateTime>

Time of last software update.

Trait Implementations

impl Clone for SoftwareUpdate[src]

impl Debug for SoftwareUpdate[src]

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

impl Eq for SoftwareUpdate[src]

impl PartialEq<SoftwareUpdate> for SoftwareUpdate[src]

impl StructuralEq for SoftwareUpdate[src]

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