#[non_exhaustive]pub struct UnitFamily {Show 20 fields
pub name: String,
pub mtu: Option<String>,
pub filter: Option<FamilyFilter>,
pub rpf_check: Option<RpfCheck>,
pub policer: Option<FamilyPolicer>,
pub sampling: Option<FamilySampling>,
pub vlan_id: Option<String>,
pub vlan_id_list: Vec<String>,
pub addresses: Vec<UnitAddress>,
pub destination_udp_port: Option<String>,
pub ethernet_switching: Option<EthernetSwitching>,
pub nd6_max_cache: Option<String>,
pub nd6_stale_time: Option<String>,
pub nd6_new_hold_limit: Option<String>,
pub pppoe: Option<PppoeUnderlyingOptions>,
pub demux_source: Vec<String>,
pub demux_destination: Vec<String>,
pub dhcp: Option<DhcpClient>,
pub dhcp_client: Option<DhcpClient>,
pub dhcpv6_client: Option<Dhcpv6Client>,
}Expand description
A family <name> of a logical unit, with the settings that apply to it.
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.name: Stringe.g. "inet", "inet6", "iso", "mpls".
mtu: Option<String>§filter: Option<FamilyFilter>§rpf_check: Option<RpfCheck>§policer: Option<FamilyPolicer>§sampling: Option<FamilySampling>§vlan_id: Option<String>vlan-id of family bridge.
vlan_id_list: Vec<String>vlan-id-list of family bridge: IDs and <from>-<to> ranges.
addresses: Vec<UnitAddress>§destination_udp_port: Option<String>destination-udp-port of a family on a UDP tunnel such as fti.
ethernet_switching: Option<EthernetSwitching>The port settings of family ethernet-switching; None for other families.
nd6_max_cache: Option<String>The nd6-max-cache of family inet6.
nd6_stale_time: Option<String>Seconds; the nd6-stale-time of family inet6.
nd6_new_hold_limit: Option<String>The nd6-new-hold-limit of family inet6.
pppoe: Option<PppoeUnderlyingOptions>The settings of family pppoe, which are those of pppoe-underlying-options.
demux_source: Vec<String>The prefixes of demux-source.
demux_destination: Vec<String>The prefixes of demux-destination.
dhcp: Option<DhcpClient>The dhcp block of family inet.
dhcp_client: Option<DhcpClient>§dhcpv6_client: Option<Dhcpv6Client>Trait Implementations§
Source§impl Clone for UnitFamily
impl Clone for UnitFamily
Source§impl Debug for UnitFamily
impl Debug for UnitFamily
impl Eq for UnitFamily
Source§impl PartialEq for UnitFamily
impl PartialEq for UnitFamily
impl StructuralPartialEq for UnitFamily
Auto Trait Implementations§
impl Forget for UnitFamily
impl Freeze for UnitFamilywhere
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
PhantomData<String>: Freeze,
PhantomData<UnitAddress>: Freeze,
PhantomData<RouterAdvertisementInterface>: Freeze,
impl Move for UnitFamily
impl RefUnwindSafe for UnitFamily
impl Send for UnitFamilywhere
RawVecInner: Send,
impl Sync for UnitFamilywhere
RawVecInner: Sync,
impl Unpin for UnitFamily
impl UnsafeUnpin for UnitFamilywhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
PhantomData<UnitAddress>: UnsafeUnpin,
PhantomData<RouterAdvertisementInterface>: UnsafeUnpin,
impl UnwindSafe for UnitFamilywhere
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