pub struct BlobMetadataV53 {
pub merkle_leaves: Vec<[u8; 32]>,
pub format: BlobFormatV53,
}Fields§
§merkle_leaves: Vec<[u8; 32]>§format: BlobFormatV53Implementations§
Source§impl BlobMetadataV53
impl BlobMetadataV53
pub fn empty() -> BlobMetadataV53
pub fn is_empty(&self) -> bool
pub fn into_merkle_verifier( self, root: GenericDigest<FuchsiaMerkleMarker>, ) -> 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<BlobMetadataV53, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<BlobMetadataV53, <__D as Deserializer<'de>>::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) -> BlobMetadataV53
fn from(old: BlobMetadataUnversioned) -> BlobMetadataV53
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
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for BlobMetadataV53
Source§impl TypeFingerprint for BlobMetadataV53
impl TypeFingerprint for BlobMetadataV53
fn fingerprint() -> String
Source§impl Versioned for BlobMetadataV53
impl Versioned for BlobMetadataV53
Source§fn max_serialized_size() -> Option<u64>
fn max_serialized_size() -> Option<u64>
Maximum size of a serialized version of this type. Serialization and deserialization will
fail if the limit is exceeded. If None, there is no limit. None is preferred over u64::MAX
because serializing and deserializing with a limit has runtime overhead.
fn deserialize_from<R>(reader: &mut R, _version: Version) -> Result<Self>
fn serialize_into<W>(&self, writer: &mut W) -> Result<()>
Source§impl VersionedLatest for BlobMetadataV53
impl VersionedLatest for BlobMetadataV53
Source§fn deserialize_from_version<R>(reader: &mut R, version: Version) -> Result<Self>
fn deserialize_from_version<R>(reader: &mut R, version: Version) -> Result<Self>
Deserializes from a given version format and upgrades to the latest version.
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
§impl<T, D> Encode<Ambiguous1, D> for Twhere
D: ResourceDialect,
impl<T, D> Encode<Ambiguous1, D> for Twhere
D: ResourceDialect,
§impl<T, D> Encode<Ambiguous2, D> for Twhere
D: ResourceDialect,
impl<T, D> Encode<Ambiguous2, D> for Twhere
D: ResourceDialect,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.§impl<F, N> FidlIntoNative<Box<N>> for Fwhere
F: FidlIntoNative<N>,
impl<F, N> FidlIntoNative<Box<N>> for Fwhere
F: FidlIntoNative<N>,
fn fidl_into_native(self) -> Box<N>
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