pub struct BlobMetadataV53 {
pub merkle_leaves: MerkleLeaves,
pub format: BlobFormatV53,
}Fields§
§merkle_leaves: MerkleLeaves§format: BlobFormatV53Implementations§
Source§impl BlobMetadataV53
impl BlobMetadataV53
pub fn empty() -> Self
pub fn is_empty(&self) -> bool
pub fn into_merkle_verifier(self, root: Hash) -> Result<MerkleVerifier, Error>
Trait Implementations§
Source§impl Clone for BlobMetadataV53
impl Clone for BlobMetadataV53
Source§fn clone(&self) -> BlobMetadataV53
fn clone(&self) -> BlobMetadataV53
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for BlobMetadataV53
impl Debug for BlobMetadataV53
Source§impl<'de> Deserialize<'de> for BlobMetadataV53
impl<'de> Deserialize<'de> for BlobMetadataV53
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
impl Eq for BlobMetadataV53
Source§impl From<BlobMetadataUnversioned> for BlobMetadataV53
impl From<BlobMetadataUnversioned> for BlobMetadataV53
Source§fn from(old: BlobMetadataUnversioned) -> Self
fn from(old: BlobMetadataUnversioned) -> Self
Converts to this type from the input type.
Source§impl PartialEq for BlobMetadataV53
impl PartialEq for BlobMetadataV53
Source§impl Serialize for BlobMetadataV53
impl Serialize for BlobMetadataV53
impl StructuralPartialEq for BlobMetadataV53
Source§impl TypeFingerprint for BlobMetadataV53
impl TypeFingerprint for BlobMetadataV53
fn fingerprint() -> String
Auto Trait Implementations§
impl Freeze for BlobMetadataV53
impl RefUnwindSafe for BlobMetadataV53
impl Send for BlobMetadataV53
impl Sync for BlobMetadataV53
impl Unpin for BlobMetadataV53
impl UnsafeUnpin for BlobMetadataV53
impl UnwindSafe for BlobMetadataV53
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