pub struct VlanIdInt(/* private fields */);Trait Implementations§
Source§impl BoundedInteger for VlanIdInt
impl BoundedInteger for VlanIdInt
const MIN: Option<i128>
const MAX: Option<i128>
const DEFAULT: Option<i128>
const TYPE_DESCRIPTION: &'static str = "an integer between 1 and 4094"
fn get(&self) -> i128
fn new(value: i128) -> Result<Self, BoundedIntegerError>
fn validate(value: i128) -> Result<(), BoundedIntegerError>
impl Copy for VlanIdInt
Source§impl<'de> Deserialize<'de> for VlanIdInt
impl<'de> Deserialize<'de> for VlanIdInt
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
Source§impl PartialOrd for VlanIdInt
impl PartialOrd for VlanIdInt
impl StructuralPartialEq for VlanIdInt
Auto Trait Implementations§
impl Freeze for VlanIdInt
impl RefUnwindSafe for VlanIdInt
impl Send for VlanIdInt
impl Sync for VlanIdInt
impl Unpin for VlanIdInt
impl UnsafeUnpin for VlanIdInt
impl UnwindSafe for VlanIdInt
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