pub struct DebugGatewaySnapshot {
pub node_id: String,
pub short_id: String,
pub next_hop_id: String,
pub next_hop_short_id: String,
pub hops: u8,
pub gateway_load: u8,
pub rtt_ms: Option<u32>,
pub score: u32,
pub selected: bool,
pub mesh_ip: Option<String>,
}Expand description
Gateway ranking details derived from installed routes.
Fields§
§node_id: String§short_id: String§next_hop_id: String§next_hop_short_id: String§hops: u8§gateway_load: u8§rtt_ms: Option<u32>§score: u32§selected: bool§mesh_ip: Option<String>Trait Implementations§
Source§impl Clone for DebugGatewaySnapshot
impl Clone for DebugGatewaySnapshot
Source§fn clone(&self) -> DebugGatewaySnapshot
fn clone(&self) -> DebugGatewaySnapshot
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 DebugGatewaySnapshot
impl Debug for DebugGatewaySnapshot
Source§impl<'de> Deserialize<'de> for DebugGatewaySnapshot
impl<'de> Deserialize<'de> for DebugGatewaySnapshot
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 DebugGatewaySnapshot
impl RefUnwindSafe for DebugGatewaySnapshot
impl Send for DebugGatewaySnapshot
impl Sync for DebugGatewaySnapshot
impl Unpin for DebugGatewaySnapshot
impl UnsafeUnpin for DebugGatewaySnapshot
impl UnwindSafe for DebugGatewaySnapshot
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