pub struct ChecksumInfo {
pub algorithm: String,
pub expected: String,
}Expand description
Checksum information for integrity verification
Supports multiple hash algorithms for post-download validation.
Fields§
§algorithm: StringHash algorithm: “sha-256”, “sha-1”, “md5”, etc.
expected: StringExpected hash value in hex-encoded string
Trait Implementations§
Source§impl Clone for ChecksumInfo
impl Clone for ChecksumInfo
Source§fn clone(&self) -> ChecksumInfo
fn clone(&self) -> ChecksumInfo
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 ChecksumInfo
impl Debug for ChecksumInfo
Source§impl<'de> Deserialize<'de> for ChecksumInfo
impl<'de> Deserialize<'de> for ChecksumInfo
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 ChecksumInfo
impl RefUnwindSafe for ChecksumInfo
impl Send for ChecksumInfo
impl Sync for ChecksumInfo
impl Unpin for ChecksumInfo
impl UnsafeUnpin for ChecksumInfo
impl UnwindSafe for ChecksumInfo
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