pub struct MaxBytes(/* private fields */);Expand description
Maximum bytes constraint for types like UTF8, BLOB, INT, UINT
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for MaxBytes
impl<'de> Deserialize<'de> for MaxBytes
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 Ord for MaxBytes
impl Ord for MaxBytes
Source§impl PartialOrd for MaxBytes
impl PartialOrd for MaxBytes
impl Copy for MaxBytes
impl Eq for MaxBytes
impl StructuralPartialEq for MaxBytes
Auto Trait Implementations§
impl Freeze for MaxBytes
impl RefUnwindSafe for MaxBytes
impl Send for MaxBytes
impl Sync for MaxBytes
impl Unpin for MaxBytes
impl UnwindSafe for MaxBytes
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)