Struct NodeInfo
pub struct NodeInfo {
pub id: u64,
pub name: String,
pub node_type: NodeType,
pub health: NodeHealth,
pub registered_at: SystemTime,
}Expand description
Node information
Fields§
§id: u64Node ID
name: StringNode name
node_type: NodeTypeNode type
health: NodeHealthNode health
registered_at: SystemTimeRegistration timestamp
Trait Implementations§
Auto Trait Implementations§
impl Freeze for NodeInfo
impl RefUnwindSafe for NodeInfo
impl Send for NodeInfo
impl Sync for NodeInfo
impl Unpin for NodeInfo
impl UnwindSafe for NodeInfo
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