pub struct Ping {
pub status: String,
pub filesystems: u64,
pub repositories: u64,
pub packages: u64,
pub installed: u64,
pub accounts: u64,
pub admins: u64,
pub units: Option<UnitCounts>,
pub recent_errors: u64,
pub needs_setup: bool,
pub upgrades_available: u64,
pub timezone_offset: i32,
}Expand description
The system overview from GET /status/ping.
Fields§
§status: String§filesystems: u64§repositories: u64§packages: u64§installed: u64§accounts: u64§admins: u64§units: Option<UnitCounts>§recent_errors: u64§needs_setup: bool§upgrades_available: u64§timezone_offset: i32Server UTC offset in minutes (positive east).
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Ping
impl<'de> Deserialize<'de> for Ping
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 Ping
impl RefUnwindSafe for Ping
impl Send for Ping
impl Sync for Ping
impl Unpin for Ping
impl UnsafeUnpin for Ping
impl UnwindSafe for Ping
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