#[non_exhaustive]pub struct Confederation {
pub autonomous_system: String,
pub members: Vec<String>,
}Expand description
A BGP confederation: the confederation AS and its member ASes.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.autonomous_system: String§members: Vec<String>Trait Implementations§
Source§impl Clone for Confederation
impl Clone for Confederation
Source§impl Debug for Confederation
impl Debug for Confederation
impl Eq for Confederation
Source§impl PartialEq for Confederation
impl PartialEq for Confederation
impl StructuralPartialEq for Confederation
Auto Trait Implementations§
impl Forget for Confederation
impl Freeze for Confederation
impl Move for Confederation
impl RefUnwindSafe for Confederation
impl Send for Confederationwhere
RawVecInner: Send,
impl Sync for Confederationwhere
RawVecInner: Sync,
impl Unpin for Confederation
impl UnsafeUnpin for Confederationwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
impl UnwindSafe for Confederationwhere
RawVecInner: UnwindSafe,
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