pub struct BundleIntegrity {
pub protocol_sha256: String,
pub assets: Vec<BundleAsset>,
}Expand description
Integrity metadata for immutable bundle contents.
Fields§
§protocol_sha256: StringSHA-256 digest of protocol.bin encoded as lowercase hexadecimal.
assets: Vec<BundleAsset>Packaged asset hashes.
Trait Implementations§
Source§impl Clone for BundleIntegrity
impl Clone for BundleIntegrity
Source§impl Debug for BundleIntegrity
impl Debug for BundleIntegrity
Source§impl Default for BundleIntegrity
impl Default for BundleIntegrity
Source§impl<'de> Deserialize<'de> for BundleIntegrity
impl<'de> Deserialize<'de> for BundleIntegrity
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
Auto Trait Implementations§
impl Freeze for BundleIntegrity
impl RefUnwindSafe for BundleIntegrity
impl Send for BundleIntegrity
impl Sync for BundleIntegrity
impl Unpin for BundleIntegrity
impl UnsafeUnpin for BundleIntegrity
impl UnwindSafe for BundleIntegrity
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