[−][src]Struct candid::number::Int
Implementations
impl Int
[src]
impl Int
[src]
pub fn encode<W: ?Sized>(&self, w: &mut W) -> Result<()> where
W: Write,
[src]
W: Write,
pub fn decode<R>(r: &mut R) -> Result<Self> where
R: Read,
[src]
R: Read,
Trait Implementations
impl CandidType for Int
[src]
fn id() -> TypeId
[src]
fn _ty() -> Type
[src]
fn idl_serialize<S>(&self, serializer: S) -> Result<(), S::Error> where
S: Serializer,
[src]
S: Serializer,
fn ty() -> Type
[src]
fn value_ty(&self) -> Type
[src]
impl Debug for Int
[src]
impl<'de> Deserialize<'de> for Int
[src]
fn deserialize<D>(deserializer: D) -> Result<Int, D::Error> where
D: Deserializer<'de>,
[src]
D: Deserializer<'de>,
impl From<i64> for Int
[src]
impl PartialEq<Int> for Int
[src]
impl StructuralPartialEq for Int
[src]
Auto Trait Implementations
impl RefUnwindSafe for Int
impl Send for Int
impl Sync for Int
impl Unpin for Int
impl UnwindSafe for Int
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,