pub struct Int16(pub i16);Expand description
An integer type wrapper around a primitive integer type.
Tuple Fields§
§0: i16Trait Implementations§
Source§impl CandidType for Int16
impl CandidType for Int16
Source§impl<'de> Deserialize<'de> for Int16
impl<'de> Deserialize<'de> for Int16
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 Int16
impl Encode for Int16
Source§impl Ord for Int16
impl Ord for Int16
Source§impl PartialOrd for Int16
impl PartialOrd for Int16
impl Copy for Int16
impl DataType for Int16
impl Eq for Int16
impl StructuralPartialEq for Int16
Auto Trait Implementations§
impl Freeze for Int16
impl RefUnwindSafe for Int16
impl Send for Int16
impl Sync for Int16
impl Unpin for Int16
impl UnwindSafe for Int16
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