pub struct OspfRedistribute {
pub source: RedistributeSource,
pub metric: Option<u32>,
pub metric_type: Option<u8>,
pub subnets: bool,
pub tag: Option<u32>,
pub route_map: Option<String>,
}Fields§
§source: RedistributeSource§metric: Option<u32>§metric_type: Option<u8>§subnets: bool§tag: Option<u32>§route_map: Option<String>Trait Implementations§
Source§impl Clone for OspfRedistribute
impl Clone for OspfRedistribute
Source§fn clone(&self) -> OspfRedistribute
fn clone(&self) -> OspfRedistribute
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 OspfRedistribute
impl Debug for OspfRedistribute
Source§impl<'de> Deserialize<'de> for OspfRedistribute
impl<'de> Deserialize<'de> for OspfRedistribute
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 OspfRedistribute
impl RefUnwindSafe for OspfRedistribute
impl Send for OspfRedistribute
impl Sync for OspfRedistribute
impl Unpin for OspfRedistribute
impl UnsafeUnpin for OspfRedistribute
impl UnwindSafe for OspfRedistribute
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