pub struct TargetVmidInt(/* private fields */);Trait Implementations§
Source§impl BoundedInteger for TargetVmidInt
impl BoundedInteger for TargetVmidInt
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>
Source§impl Clone for TargetVmidInt
impl Clone for TargetVmidInt
Source§fn clone(&self) -> TargetVmidInt
fn clone(&self) -> TargetVmidInt
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 TargetVmidInt
Source§impl Debug for TargetVmidInt
impl Debug for TargetVmidInt
Source§impl<'de> Deserialize<'de> for TargetVmidInt
impl<'de> Deserialize<'de> for TargetVmidInt
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 TargetVmidInt
impl PartialEq for TargetVmidInt
Source§fn eq(&self, other: &TargetVmidInt) -> bool
fn eq(&self, other: &TargetVmidInt) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for TargetVmidInt
impl PartialOrd for TargetVmidInt
Source§impl Serialize for TargetVmidInt
impl Serialize for TargetVmidInt
impl StructuralPartialEq for TargetVmidInt
Auto Trait Implementations§
impl Freeze for TargetVmidInt
impl RefUnwindSafe for TargetVmidInt
impl Send for TargetVmidInt
impl Sync for TargetVmidInt
impl Unpin for TargetVmidInt
impl UnsafeUnpin for TargetVmidInt
impl UnwindSafe for TargetVmidInt
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