pub struct NodeUptime {
pub node_name: String,
pub state: String,
pub id: u64,
pub group: String,
pub history_uptime: Vec<UptimeRecord>,
}Fields§
§node_name: String§state: String§id: u64§group: String§history_uptime: Vec<UptimeRecord>Trait Implementations§
Source§impl Clone for NodeUptime
impl Clone for NodeUptime
Source§fn clone(&self) -> NodeUptime
fn clone(&self) -> NodeUptime
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 NodeUptime
impl Debug for NodeUptime
Source§impl<'de> Deserialize<'de> for NodeUptime
impl<'de> Deserialize<'de> for NodeUptime
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 NodeUptime
impl RefUnwindSafe for NodeUptime
impl Send for NodeUptime
impl Sync for NodeUptime
impl Unpin for NodeUptime
impl UnwindSafe for NodeUptime
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