pub struct RoutingConnection {
pub id: RoutingConnectionRef,
pub from: RoutingNodeRef,
pub to: RoutingNodeRef,
pub mode: TransferMode,
pub traversal: TraversalModel,
pub available_from: Option<SimTime>,
pub available_until: Option<SimTime>,
pub risk_per_mille: u32,
pub resource_cost: u64,
}Fields§
§id: RoutingConnectionRef§from: RoutingNodeRef§to: RoutingNodeRef§mode: TransferMode§traversal: TraversalModel§available_from: Option<SimTime>§available_until: Option<SimTime>§risk_per_mille: u32§resource_cost: u64Trait Implementations§
Source§impl Clone for RoutingConnection
impl Clone for RoutingConnection
Source§fn clone(&self) -> RoutingConnection
fn clone(&self) -> RoutingConnection
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 RoutingConnection
impl Debug for RoutingConnection
Source§impl<'de> Deserialize<'de> for RoutingConnection
impl<'de> Deserialize<'de> for RoutingConnection
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<RoutingConnection, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<RoutingConnection, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for RoutingConnection
Source§impl PartialEq for RoutingConnection
impl PartialEq for RoutingConnection
Source§impl Serialize for RoutingConnection
impl Serialize for RoutingConnection
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for RoutingConnection
Auto Trait Implementations§
impl Freeze for RoutingConnection
impl RefUnwindSafe for RoutingConnection
impl Send for RoutingConnection
impl Sync for RoutingConnection
impl Unpin for RoutingConnection
impl UnsafeUnpin for RoutingConnection
impl UnwindSafe for RoutingConnection
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