Struct ockam_core::Uint
source · pub struct Uint(/* private fields */);
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§
source§impl<'de> Deserialize<'de> for Uint
impl<'de> Deserialize<'de> for Uint
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 PartialEq for Uint
impl PartialEq for Uint
impl Eq for Uint
impl StructuralPartialEq for Uint
Auto Trait Implementations§
impl Freeze for Uint
impl RefUnwindSafe for Uint
impl Send for Uint
impl Sync for Uint
impl Unpin for Uint
impl UnwindSafe for Uint
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