pub struct Uint16(pub u16);Expand description
An integer type wrapper around a primitive integer type.
Tuple Fields§
§0: u16Trait Implementations§
Source§impl CandidType for Uint16
Available on crate feature candid only.
impl CandidType for Uint16
Available on crate feature
candid only.Source§impl<'de> Deserialize<'de> for Uint16
impl<'de> Deserialize<'de> for Uint16
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<Uint16, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<Uint16, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Encode for Uint16
impl Encode for Uint16
Source§impl Ord for Uint16
impl Ord for Uint16
Source§impl PartialOrd for Uint16
impl PartialOrd for Uint16
Source§impl Serialize for Uint16
impl Serialize for Uint16
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 Uint16
impl DataType for Uint16
impl Eq for Uint16
impl StructuralPartialEq for Uint16
Auto Trait Implementations§
impl Freeze for Uint16
impl RefUnwindSafe for Uint16
impl Send for Uint16
impl Sync for Uint16
impl Unpin for Uint16
impl UnsafeUnpin for Uint16
impl UnwindSafe for Uint16
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