#[non_exhaustive]pub struct BackupRouter {
pub address: String,
pub destinations: Vec<String>,
}Expand description
A backup-router or inet6-backup-router.
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.address: String§destinations: Vec<String>Empty when the router is reachable for all destinations.
Trait Implementations§
Source§impl Clone for BackupRouter
impl Clone for BackupRouter
Source§impl Debug for BackupRouter
impl Debug for BackupRouter
impl Eq for BackupRouter
Source§impl PartialEq for BackupRouter
impl PartialEq for BackupRouter
impl StructuralPartialEq for BackupRouter
Auto Trait Implementations§
impl Forget for BackupRouter
impl Freeze for BackupRouter
impl Move for BackupRouter
impl RefUnwindSafe for BackupRouter
impl Send for BackupRouter
impl Sync for BackupRouter
impl Unpin for BackupRouter
impl UnsafeUnpin for BackupRouter
impl UnwindSafe for BackupRouter
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