pub struct ConnectionPath {
pub path_type: PathType,
pub hops: Vec<HopInfo>,
pub quality_score: f32,
}Expand description
Connection path information
Fields§
§path_type: PathTypePath type (direct, relayed, etc.)
hops: Vec<HopInfo>Intermediate hops
quality_score: f32Path quality score
Trait Implementations§
Source§impl Clone for ConnectionPath
impl Clone for ConnectionPath
Source§fn clone(&self) -> ConnectionPath
fn clone(&self) -> ConnectionPath
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 ConnectionPath
impl Debug for ConnectionPath
Source§impl<'de> Deserialize<'de> for ConnectionPath
impl<'de> Deserialize<'de> for ConnectionPath
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 ConnectionPath
impl RefUnwindSafe for ConnectionPath
impl Send for ConnectionPath
impl Sync for ConnectionPath
impl Unpin for ConnectionPath
impl UnwindSafe for ConnectionPath
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