pub struct Versions {
    pub core_update: bool,
    pub web_update: bool,
    pub ftl_update: bool,
    pub core_current: String,
    pub web_current: String,
    pub ftl_current: String,
    pub core_latest: String,
    pub web_latest: String,
    pub ftl_latest: String,
    pub core_branch: String,
    pub web_branch: String,
    pub ftl_branch: String,
}
Expand description

Versions Struct

Fields

core_update: bool

Is there an update available for Pi-hole core

web_update: bool

Is there an update available for Pi-hole web

ftl_update: bool

Is there an update available for Pi-hole FTL

core_current: String

Current Pi-hole core version

web_current: String

Current Pi-hole web version

ftl_current: String

Current Pi-hole FTL version

core_latest: String

Latest Pi-hole core version

web_latest: String

Latest Pi-hole web version

ftl_latest: String

Latest Pi-hole FTL version

core_branch: String

Current Pi-hole core branch

web_branch: String

Current Pi-hole web branch

ftl_branch: String

Current Pi-hole FTL branch

Trait Implementations

Formats the value using the given formatter. Read more

Deserialize this value from the given Serde deserializer. Read more

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more