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