Struct libipld_json::DagJsonCodec
source · pub struct DagJsonCodec;
Expand description
Json codec.
Trait Implementations§
source§impl Clone for DagJsonCodec
impl Clone for DagJsonCodec
source§fn clone(&self) -> DagJsonCodec
fn clone(&self) -> DagJsonCodec
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Codec for DagJsonCodec
impl Codec for DagJsonCodec
source§impl Debug for DagJsonCodec
impl Debug for DagJsonCodec
source§impl Decode<DagJsonCodec> for Ipld
impl Decode<DagJsonCodec> for Ipld
source§impl Encode<DagJsonCodec> for Ipld
impl Encode<DagJsonCodec> for Ipld
source§impl From<DagJsonCodec> for u64
impl From<DagJsonCodec> for u64
source§fn from(_: DagJsonCodec) -> Self
fn from(_: DagJsonCodec) -> Self
Converts to this type from the input type.
source§impl Ord for DagJsonCodec
impl Ord for DagJsonCodec
source§fn cmp(&self, other: &DagJsonCodec) -> Ordering
fn cmp(&self, other: &DagJsonCodec) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for DagJsonCodec
impl PartialEq for DagJsonCodec
source§fn eq(&self, other: &DagJsonCodec) -> bool
fn eq(&self, other: &DagJsonCodec) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for DagJsonCodec
impl PartialOrd for DagJsonCodec
source§fn partial_cmp(&self, other: &DagJsonCodec) -> Option<Ordering>
fn partial_cmp(&self, other: &DagJsonCodec) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresource§impl References<DagJsonCodec> for Ipld
impl References<DagJsonCodec> for Ipld
source§impl TryFrom<u64> for DagJsonCodec
impl TryFrom<u64> for DagJsonCodec
impl Copy for DagJsonCodec
impl Eq for DagJsonCodec
impl StructuralPartialEq for DagJsonCodec
Auto Trait Implementations§
impl Freeze for DagJsonCodec
impl RefUnwindSafe for DagJsonCodec
impl Send for DagJsonCodec
impl Sync for DagJsonCodec
impl Unpin for DagJsonCodec
impl UnwindSafe for DagJsonCodec
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
source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)