pub struct SysInfo {
pub hostname: Option<String>,
pub version: Option<String>,
pub timezone: Option<String>,
pub uptime: Option<u64>,
}Fields§
§hostname: Option<String>§version: Option<String>§timezone: Option<String>§uptime: Option<u64>Trait Implementations§
Source§impl<'de> Deserialize<'de> for SysInfo
impl<'de> Deserialize<'de> for SysInfo
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 SysInfo
impl RefUnwindSafe for SysInfo
impl Send for SysInfo
impl Sync for SysInfo
impl Unpin for SysInfo
impl UnsafeUnpin for SysInfo
impl UnwindSafe for SysInfo
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