pub struct ChunkHash(pub CryptoHash);Expand description
ChunkHash
JSON schema
{
"$ref": "#/components/schemas/CryptoHash"
}Tuple Fields§
§0: CryptoHashTrait Implementations§
Source§impl Deref for ChunkHash
impl Deref for ChunkHash
Source§type Target = CryptoHash
type Target = CryptoHash
The resulting type after dereferencing.
Source§fn deref(&self) -> &CryptoHash
fn deref(&self) -> &CryptoHash
Dereferences the value.
Source§impl<'de> Deserialize<'de> for ChunkHash
impl<'de> Deserialize<'de> for ChunkHash
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<ChunkHash> for CryptoHash
impl From<ChunkHash> for CryptoHash
Source§impl From<CryptoHash> for ChunkHash
impl From<CryptoHash> for ChunkHash
Source§fn from(value: CryptoHash) -> Self
fn from(value: CryptoHash) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ChunkHash
impl RefUnwindSafe for ChunkHash
impl Send for ChunkHash
impl Sync for ChunkHash
impl Unpin for ChunkHash
impl UnwindSafe for ChunkHash
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)