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