pub struct IntegrityRecord {
pub verdict: Verdict,
pub method: String,
pub checked_at: u64,
}Expand description
An integrity verdict, with what produced it.
Fields§
§verdict: VerdictWhat the check concluded.
method: StringHow it was reached: flac-frame-crc, ogg-page-crc, or none.
Stored because verdicts of different strengths will coexist: a frame checksum proves the container intact, an MD5 of the decoded audio will prove the music itself intact.
checked_at: u64When the check ran, in seconds since the Unix epoch.
Trait Implementations§
Source§impl Clone for IntegrityRecord
impl Clone for IntegrityRecord
Source§fn clone(&self) -> IntegrityRecord
fn clone(&self) -> IntegrityRecord
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 moreSource§impl Debug for IntegrityRecord
impl Debug for IntegrityRecord
Source§impl PartialEq for IntegrityRecord
impl PartialEq for IntegrityRecord
impl Eq for IntegrityRecord
impl StructuralPartialEq for IntegrityRecord
Auto Trait Implementations§
impl Freeze for IntegrityRecord
impl RefUnwindSafe for IntegrityRecord
impl Send for IntegrityRecord
impl Sync for IntegrityRecord
impl Unpin for IntegrityRecord
impl UnwindSafe for IntegrityRecord
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