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
impl CandidType for Uint16
Source§impl<'de> Deserialize<'de> for Uint16
impl<'de> Deserialize<'de> for Uint16
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 Uint16
impl Encode for Uint16
Source§impl Ord for Uint16
impl Ord for Uint16
Source§impl PartialOrd for Uint16
impl PartialOrd for Uint16
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 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