pub struct Uint8(pub u8);Expand description
An integer type wrapper around a primitive integer type.
Tuple Fields§
§0: u8Trait Implementations§
impl Copy for Uint8
impl DataType for Uint8
Source§impl<'de> Deserialize<'de> for Uint8
impl<'de> Deserialize<'de> for Uint8
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 Encode for Uint8
impl Encode for Uint8
impl Eq for Uint8
Source§impl Ord for Uint8
impl Ord for Uint8
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialOrd for Uint8
impl PartialOrd for Uint8
impl StructuralPartialEq for Uint8
Auto Trait Implementations§
impl Freeze for Uint8
impl RefUnwindSafe for Uint8
impl Send for Uint8
impl Sync for Uint8
impl Unpin for Uint8
impl UnsafeUnpin for Uint8
impl UnwindSafe for Uint8
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