pub struct SystemStatus {
pub status: String,
pub updated: Option<i64>,
pub eta: Option<i64>,
pub url: Option<String>,
pub info: Value,
}Expand description
System status structure.
Fields§
§status: StringStatus: “ok” or “maintenance”
updated: Option<i64>Last updated timestamp
eta: Option<i64>Estimated time of arrival (recovery)
url: Option<String>Status URL
info: ValueRaw info from exchange
Trait Implementations§
Source§impl Clone for SystemStatus
impl Clone for SystemStatus
Source§fn clone(&self) -> SystemStatus
fn clone(&self) -> SystemStatus
Returns a duplicate of the value. Read more
1.0.0 · 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 SystemStatus
impl Debug for SystemStatus
Source§impl<'de> Deserialize<'de> for SystemStatus
impl<'de> Deserialize<'de> for SystemStatus
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 SystemStatus
impl RefUnwindSafe for SystemStatus
impl Send for SystemStatus
impl Sync for SystemStatus
impl Unpin for SystemStatus
impl UnwindSafe for SystemStatus
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