pub struct DebugNodeSnapshot {
pub name: String,
pub node_id: String,
pub short_id: String,
pub is_gateway: bool,
pub mesh_ip: String,
pub mesh_prefix_len: u8,
}Expand description
Local node runtime information.
Fields§
§name: String§node_id: String§short_id: String§is_gateway: bool§mesh_ip: String§mesh_prefix_len: u8Trait Implementations§
Source§impl Clone for DebugNodeSnapshot
impl Clone for DebugNodeSnapshot
Source§fn clone(&self) -> DebugNodeSnapshot
fn clone(&self) -> DebugNodeSnapshot
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 DebugNodeSnapshot
impl Debug for DebugNodeSnapshot
Source§impl<'de> Deserialize<'de> for DebugNodeSnapshot
impl<'de> Deserialize<'de> for DebugNodeSnapshot
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 DebugNodeSnapshot
impl RefUnwindSafe for DebugNodeSnapshot
impl Send for DebugNodeSnapshot
impl Sync for DebugNodeSnapshot
impl Unpin for DebugNodeSnapshot
impl UnsafeUnpin for DebugNodeSnapshot
impl UnwindSafe for DebugNodeSnapshot
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