pub struct HeaderIntegrity {
pub algorithm: String,
pub hash: String,
pub block_size: usize,
pub blocks: Vec<String>,
}Expand description
Integrity metadata stored in the ASAR header for a file.
Fields§
§algorithm: String§hash: String§block_size: usize§blocks: Vec<String>Trait Implementations§
Source§impl Debug for HeaderIntegrity
impl Debug for HeaderIntegrity
Source§impl<'de> Deserialize<'de> for HeaderIntegrity
impl<'de> Deserialize<'de> for HeaderIntegrity
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 HeaderIntegrity
impl RefUnwindSafe for HeaderIntegrity
impl Send for HeaderIntegrity
impl Sync for HeaderIntegrity
impl Unpin for HeaderIntegrity
impl UnsafeUnpin for HeaderIntegrity
impl UnwindSafe for HeaderIntegrity
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