#[non_exhaustive]pub struct NasPortOptions {
pub name: String,
pub nas_port_extended_format: Option<NasPortExtendedFormat>,
pub nas_port_type: Option<String>,
pub stacked_vlan_ranges: Vec<String>,
pub vlan_ranges: Vec<String>,
}Expand description
A nas-port-options <name> set of the RADIUS options.
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: String§nas_port_extended_format: Option<NasPortExtendedFormat>§nas_port_type: Option<String>§stacked_vlan_ranges: Vec<String>Each stacked-vlan-ranges, e.g. any or 100-200,any.
vlan_ranges: Vec<String>Each vlan-ranges, e.g. any or 100-200.
Trait Implementations§
Source§impl Clone for NasPortOptions
impl Clone for NasPortOptions
Source§impl Debug for NasPortOptions
impl Debug for NasPortOptions
impl Eq for NasPortOptions
Source§impl PartialEq for NasPortOptions
impl PartialEq for NasPortOptions
impl StructuralPartialEq for NasPortOptions
Auto Trait Implementations§
impl Forget for NasPortOptions
impl Freeze for NasPortOptions
impl Move for NasPortOptions
impl RefUnwindSafe for NasPortOptions
impl Send for NasPortOptionswhere
RawVecInner: Send,
impl Sync for NasPortOptionswhere
RawVecInner: Sync,
impl Unpin for NasPortOptions
impl UnsafeUnpin for NasPortOptionswhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
impl UnwindSafe for NasPortOptionswhere
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