pub struct VmId(/* private fields */);Trait Implementations§
Source§impl BoundedInteger for VmId
impl BoundedInteger for VmId
const MIN: Option<i128>
const MAX: Option<i128>
const DEFAULT: Option<i128> = None
const TYPE_DESCRIPTION: &'static str = "an integer between 100 and 999_999_999"
fn get(&self) -> i128
fn new(value: i128) -> Result<Self, BoundedIntegerError>
fn validate(value: i128) -> Result<(), BoundedIntegerError>
impl Copy for VmId
Source§impl<'de> Deserialize<'de> for VmId
impl<'de> Deserialize<'de> for VmId
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
impl Eq for VmId
Source§impl Ord for VmId
impl Ord for VmId
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialOrd for VmId
impl PartialOrd for VmId
impl StructuralPartialEq for VmId
Auto Trait Implementations§
impl Freeze for VmId
impl RefUnwindSafe for VmId
impl Send for VmId
impl Sync for VmId
impl Unpin for VmId
impl UnsafeUnpin for VmId
impl UnwindSafe for VmId
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