Struct ockam_core::Uint
source · [−]pub struct Uint(_);
Expand description
Unsigned integer implementation that supports serde_bare
serialization as a 64 bit uint
type.
This is to avoid cross-platform and cross-language compatibility inconsistencies that may be encountered by using Rust fixed-size integers.
Implementations
Trait Implementations
sourceimpl<'de> Deserialize<'de> for Uint
impl<'de> Deserialize<'de> for Uint
sourcefn 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
impl Eq for Uint
impl StructuralEq for Uint
impl StructuralPartialEq for Uint
Auto Trait Implementations
impl RefUnwindSafe for Uint
impl Send for Uint
impl Sync for Uint
impl Unpin for Uint
impl UnwindSafe for Uint
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more