pub struct ChecksumInfo {
pub expected_checksum: Option<String>,
pub checksum_url: Option<String>,
}Expand description
Information needed to verify a file’s checksum.
Fields§
§expected_checksum: Option<String>A pre-known expected SHA-256 hex digest.
checksum_url: Option<String>URL from which to fetch a checksum file (SHA256SUMS format).
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