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