pub struct DebugRouteSnapshot {Show 13 fields
pub destination_id: String,
pub destination_short_id: String,
pub next_hop_id: String,
pub next_hop_short_id: String,
pub learned_from_id: String,
pub learned_from_short_id: String,
pub hops: u8,
pub is_gateway: bool,
pub gateway_load: u8,
pub rtt_ms: Option<u32>,
pub mesh_ip: Option<String>,
pub age_ms: u64,
pub next_hop_blacklisted: bool,
}Expand description
Installed route entry.
Fields§
§destination_id: String§destination_short_id: String§next_hop_id: String§next_hop_short_id: String§learned_from_id: String§learned_from_short_id: String§hops: u8§is_gateway: bool§gateway_load: u8§rtt_ms: Option<u32>§mesh_ip: Option<String>§age_ms: u64§next_hop_blacklisted: boolTrait Implementations§
Source§impl Clone for DebugRouteSnapshot
impl Clone for DebugRouteSnapshot
Source§fn clone(&self) -> DebugRouteSnapshot
fn clone(&self) -> DebugRouteSnapshot
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 DebugRouteSnapshot
impl Debug for DebugRouteSnapshot
Source§impl<'de> Deserialize<'de> for DebugRouteSnapshot
impl<'de> Deserialize<'de> for DebugRouteSnapshot
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 DebugRouteSnapshot
impl RefUnwindSafe for DebugRouteSnapshot
impl Send for DebugRouteSnapshot
impl Sync for DebugRouteSnapshot
impl Unpin for DebugRouteSnapshot
impl UnsafeUnpin for DebugRouteSnapshot
impl UnwindSafe for DebugRouteSnapshot
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