pub struct RouterSystemInfo {
pub name: Option<String>,
pub version: Option<String>,
pub board: Option<String>,
pub architecture: Option<String>,
pub uptime: Option<String>,
pub cpu_load: Option<i64>,
pub free_memory: Option<i64>,
pub total_memory: Option<i64>,
pub free_hdd_space: Option<i64>,
pub extra: Map<String, Value>,
}Expand description
System information for a router net (system_info action).
Fields§
§name: Option<String>Router identity name.
version: Option<String>RouterOS version.
board: Option<String>Board model, e.g. "hAP ac^2".
architecture: Option<String>CPU architecture.
uptime: Option<String>Uptime string, e.g. "1w2d3h".
cpu_load: Option<i64>CPU load (%).
free_memory: Option<i64>Free RAM (bytes).
total_memory: Option<i64>Total RAM (bytes).
free_hdd_space: Option<i64>Free storage (bytes).
extra: Map<String, Value>Any extra fields.
Trait Implementations§
Source§impl Clone for RouterSystemInfo
impl Clone for RouterSystemInfo
Source§fn clone(&self) -> RouterSystemInfo
fn clone(&self) -> RouterSystemInfo
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 RouterSystemInfo
impl Debug for RouterSystemInfo
Source§impl<'de> Deserialize<'de> for RouterSystemInfo
impl<'de> Deserialize<'de> for RouterSystemInfo
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 RouterSystemInfo
impl RefUnwindSafe for RouterSystemInfo
impl Send for RouterSystemInfo
impl Sync for RouterSystemInfo
impl Unpin for RouterSystemInfo
impl UnsafeUnpin for RouterSystemInfo
impl UnwindSafe for RouterSystemInfo
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