pub struct NetworkLink {
pub source_network: u16,
pub destination_network: u16,
pub cost: u16,
pub router_address: NetworkAddress,
}Expand description
Network link information
Fields§
§source_network: u16Source network
destination_network: u16Destination network
cost: u16Cost metric (lower is better)
router_address: NetworkAddressRouter address
Trait Implementations§
Source§impl Clone for NetworkLink
impl Clone for NetworkLink
Source§fn clone(&self) -> NetworkLink
fn clone(&self) -> NetworkLink
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 moreAuto Trait Implementations§
impl Freeze for NetworkLink
impl RefUnwindSafe for NetworkLink
impl Send for NetworkLink
impl Sync for NetworkLink
impl Unpin for NetworkLink
impl UnsafeUnpin for NetworkLink
impl UnwindSafe for NetworkLink
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