pub struct SysInfo {
pub timezone: Option<String>,
pub autobackup: Option<bool>,
pub hostname: Option<String>,
pub ip_addrs: Vec<String>,
pub live_chat: Option<String>,
pub data_retention_days: Option<u32>,
pub extra: Value,
}Expand description
Low-level controller system info (from Session stat/sysinfo).
Fields§
§timezone: Option<String>§autobackup: Option<bool>§hostname: Option<String>§ip_addrs: Vec<String>§live_chat: Option<String>§data_retention_days: Option<u32>§extra: ValueTrait 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