pub struct NetworkConnection {
pub connection_id: String,
pub source_node: String,
pub target_node: String,
pub connection_type: ConnectionType,
pub quality: ConnectionQuality,
pub established_at: u64,
}
Expand description
Network connection between nodes
Fieldsยง
ยงconnection_id: String
Connection ID
source_node: String
Source node
target_node: String
Target node
connection_type: ConnectionType
Connection type
quality: ConnectionQuality
Connection quality metrics
established_at: u64
Connection established time
Trait Implementationsยง
Sourceยงimpl Clone for NetworkConnection
impl Clone for NetworkConnection
Sourceยงfn clone(&self) -> NetworkConnection
fn clone(&self) -> NetworkConnection
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 NetworkConnection
impl Debug for NetworkConnection
Sourceยงimpl<'de> Deserialize<'de> for NetworkConnection
impl<'de> Deserialize<'de> for NetworkConnection
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 NetworkConnection
impl RefUnwindSafe for NetworkConnection
impl Send for NetworkConnection
impl Sync for NetworkConnection
impl Unpin for NetworkConnection
impl UnwindSafe for NetworkConnection
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