pub struct NetworkLsa {
pub header: LsaHeader,
pub network_mask: u32,
pub attached_routers: Vec<u32>,
}Expand description
Network LSA (type 2)
Fields§
§header: LsaHeaderLSA header
network_mask: u32Network mask
attached_routers: Vec<u32>List of attached router IDs
Trait Implementations§
Source§impl Clone for NetworkLsa
impl Clone for NetworkLsa
Source§fn clone(&self) -> NetworkLsa
fn clone(&self) -> NetworkLsa
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for NetworkLsa
impl Debug for NetworkLsa
Source§impl PartialEq for NetworkLsa
impl PartialEq for NetworkLsa
impl Eq for NetworkLsa
impl StructuralPartialEq for NetworkLsa
Auto Trait Implementations§
impl Freeze for NetworkLsa
impl RefUnwindSafe for NetworkLsa
impl Send for NetworkLsa
impl Sync for NetworkLsa
impl Unpin for NetworkLsa
impl UnwindSafe for NetworkLsa
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)