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