pub struct Uint8(pub u8);Expand description
An integer type wrapper around a primitive integer type.
Tuple Fields§
§0: u8Trait Implementations§
Source§impl CandidType for Uint8
Available on crate feature candid only.
impl CandidType for Uint8
Available on crate feature
candid only.Source§impl<'de> Deserialize<'de> for Uint8
impl<'de> Deserialize<'de> for Uint8
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<Uint8, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<Uint8, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Encode for Uint8
impl Encode for Uint8
Source§impl Ord for Uint8
impl Ord for Uint8
Source§impl PartialOrd for Uint8
impl PartialOrd for Uint8
Source§impl Serialize for Uint8
impl Serialize for Uint8
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl Copy for Uint8
impl DataType for Uint8
impl Eq 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