pub struct QuerySystem {
pub status: Status,
pub boot_timestamp: i64,
pub booted_since: Option<i64>,
pub is_booting: bool,
pub milestones: Vec<EnteredMilestone>,
pub instance_name: String,
pub services: Vec<String>,
}Expand description
Result of querying information about the whole system.
Fields§
§status: StatusStatus of the system.
boot_timestamp: i64Timestamp generated when the system started to boot.
booted_since: Option<i64>Timestamp generated when the system completed booting.
is_booting: boolIndicates whether the system is booting.
milestones: Vec<EnteredMilestone>List of entered milestones in the system.
instance_name: StringInstance name of the server.
services: Vec<String>List of cached services in the system.
Trait Implementations§
Source§impl Clone for QuerySystem
impl Clone for QuerySystem
Source§fn clone(&self) -> QuerySystem
fn clone(&self) -> QuerySystem
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for QuerySystem
impl Debug for QuerySystem
Source§impl<'de> Deserialize<'de> for QuerySystem
impl<'de> Deserialize<'de> for QuerySystem
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 QuerySystem
impl RefUnwindSafe for QuerySystem
impl Send for QuerySystem
impl Sync for QuerySystem
impl Unpin for QuerySystem
impl UnsafeUnpin for QuerySystem
impl UnwindSafe for QuerySystem
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