#[non_exhaustive]pub struct Keepalives {
pub interval: Option<String>,
pub down_count: Option<String>,
pub up_count: Option<String>,
}Expand description
The keepalives settings of an interface; no-keepalives is a separate flag.
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.interval: Option<String>Seconds.
down_count: Option<String>§up_count: Option<String>Trait Implementations§
Source§impl Clone for Keepalives
impl Clone for Keepalives
Source§impl Debug for Keepalives
impl Debug for Keepalives
impl Eq for Keepalives
Source§impl PartialEq for Keepalives
impl PartialEq for Keepalives
impl StructuralPartialEq for Keepalives
Auto Trait Implementations§
impl Forget for Keepalives
impl Freeze for Keepalives
impl Move for Keepalives
impl RefUnwindSafe for Keepalives
impl Send for Keepaliveswhere
RawVecInner: Send,
impl Sync for Keepaliveswhere
RawVecInner: Sync,
impl Unpin for Keepalives
impl UnsafeUnpin for Keepalives
impl UnwindSafe for Keepaliveswhere
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