pub struct MappedCid(pub Cid, pub Cid);Expand description
Tuple Fields§
§0: Cid§1: CidImplementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for MappedCid
impl<'de> Deserialize<'de> for MappedCid
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 From<MappedCid> for OptionMappedCid
impl From<MappedCid> for OptionMappedCid
Source§fn from(original: MappedCid) -> OptionMappedCid
fn from(original: MappedCid) -> OptionMappedCid
Converts to this type from the input type.
Source§impl Ord for MappedCid
impl Ord for MappedCid
Source§impl PartialOrd for MappedCid
impl PartialOrd for MappedCid
impl Copy for MappedCid
impl Eq for MappedCid
impl StructuralPartialEq for MappedCid
Auto Trait Implementations§
impl Freeze for MappedCid
impl RefUnwindSafe for MappedCid
impl Send for MappedCid
impl Sync for MappedCid
impl Unpin for MappedCid
impl UnsafeUnpin for MappedCid
impl UnwindSafe for MappedCid
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: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more