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: boolIs there an update available for Pi-hole core
web_update: boolIs there an update available for Pi-hole web
ftl_update: boolIs there an update available for Pi-hole FTL
core_current: StringCurrent Pi-hole core version
web_current: StringCurrent Pi-hole web version
ftl_current: StringCurrent Pi-hole FTL version
core_latest: StringLatest Pi-hole core version
web_latest: StringLatest Pi-hole web version
ftl_latest: StringLatest Pi-hole FTL version
core_branch: StringCurrent Pi-hole core branch
web_branch: StringCurrent Pi-hole web branch
ftl_branch: StringCurrent Pi-hole FTL branch
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Versions
impl<'de> Deserialize<'de> for Versions
Source§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
Auto Trait Implementations§
impl Freeze for Versions
impl RefUnwindSafe for Versions
impl Send for Versions
impl Sync for Versions
impl Unpin for Versions
impl UnwindSafe for Versions
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more