pub struct OspfDefaultOriginate {
pub always: bool,
pub metric: Option<u32>,
pub metric_type: Option<u8>,
}Fields§
§always: bool§metric: Option<u32>§metric_type: Option<u8>Trait Implementations§
Source§impl Clone for OspfDefaultOriginate
impl Clone for OspfDefaultOriginate
Source§fn clone(&self) -> OspfDefaultOriginate
fn clone(&self) -> OspfDefaultOriginate
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 moreSource§impl Debug for OspfDefaultOriginate
impl Debug for OspfDefaultOriginate
Source§impl<'de> Deserialize<'de> for OspfDefaultOriginate
impl<'de> Deserialize<'de> for OspfDefaultOriginate
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for OspfDefaultOriginate
impl RefUnwindSafe for OspfDefaultOriginate
impl Send for OspfDefaultOriginate
impl Sync for OspfDefaultOriginate
impl Unpin for OspfDefaultOriginate
impl UnsafeUnpin for OspfDefaultOriginate
impl UnwindSafe for OspfDefaultOriginate
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