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