pub struct DigestRecords {
pub digest_type: String,
pub digest: Option<Vec<u8>>,
pub digest_string: Option<String>,
}Expand description
The DigestRecords struct holds information about a digest, including its type,
the raw digest data as a byte array, and the digest as a string representation.
§Fields
-
digest_type(String): A string indicating the type of digest (e.g., SHA256, MD5). -
digest(Option<Vec<u8>>): An optional vector of bytes containing the raw digest data. IfNone, the digest data may not be available or applicable. -
digest_string(Option<String>): An optional string representation of the digest. This is typically a hexadecimal or base64-encoded version of thedigestfield. IfNone, the string representation may not be available or applicable.
Fields§
§digest_type: String§digest: Option<Vec<u8>>§digest_string: Option<String>Trait Implementations§
Source§impl Clone for DigestRecords
impl Clone for DigestRecords
Source§fn clone(&self) -> DigestRecords
fn clone(&self) -> DigestRecords
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for DigestRecords
impl RefUnwindSafe for DigestRecords
impl Send for DigestRecords
impl Sync for DigestRecords
impl Unpin for DigestRecords
impl UnwindSafe for DigestRecords
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