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