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