pub struct Cid32(pub [u8; 32]);Expand description
32-byte Content ID (BLAKE3 hash). Serializes as lowercase hex (no 0x prefix).
Tuple Fields§
§0: [u8; 32]Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Cid32
impl<'de> Deserialize<'de> for Cid32
Source§fn deserialize<D: Deserializer<'de>>(d: D) -> Result<Self, D::Error>
fn deserialize<D: Deserializer<'de>>(d: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read more
impl Copy for Cid32
impl Eq for Cid32
impl StructuralPartialEq for Cid32
Auto Trait Implementations§
impl Freeze for Cid32
impl RefUnwindSafe for Cid32
impl Send for Cid32
impl Sync for Cid32
impl Unpin for Cid32
impl UnwindSafe for Cid32
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