pub struct Netmask6Int(/* private fields */);Trait Implementations§
Source§impl BoundedInteger for Netmask6Int
impl BoundedInteger for Netmask6Int
const MIN: Option<i128>
const MAX: Option<i128>
const DEFAULT: Option<i128>
const TYPE_DESCRIPTION: &'static str = "an integer between 0 and 128"
fn get(&self) -> i128
fn new(value: i128) -> Result<Self, BoundedIntegerError>
fn validate(value: i128) -> Result<(), BoundedIntegerError>
Source§impl Clone for Netmask6Int
impl Clone for Netmask6Int
Source§fn clone(&self) -> Netmask6Int
fn clone(&self) -> Netmask6Int
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 moreimpl Copy for Netmask6Int
Source§impl Debug for Netmask6Int
impl Debug for Netmask6Int
Source§impl<'de> Deserialize<'de> for Netmask6Int
impl<'de> Deserialize<'de> for Netmask6Int
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 PartialEq for Netmask6Int
impl PartialEq for Netmask6Int
Source§fn eq(&self, other: &Netmask6Int) -> bool
fn eq(&self, other: &Netmask6Int) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for Netmask6Int
impl PartialOrd for Netmask6Int
Source§impl Serialize for Netmask6Int
impl Serialize for Netmask6Int
impl StructuralPartialEq for Netmask6Int
Auto Trait Implementations§
impl Freeze for Netmask6Int
impl RefUnwindSafe for Netmask6Int
impl Send for Netmask6Int
impl Sync for Netmask6Int
impl Unpin for Netmask6Int
impl UnsafeUnpin for Netmask6Int
impl UnwindSafe for Netmask6Int
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