pub struct MediaIntegrityResult {
pub content_hash_valid: bool,
pub signature_valid: bool,
pub capture_id_match: bool,
pub fingerprint_match: bool,
pub content_hash: String,
pub capture_id: String,
pub captured_at: String,
}Expand description
Result of media integrity validation
Fields§
§content_hash_valid: boolWhether the content hash matches the media file
signature_valid: boolWhether the ECDSA signature is valid
capture_id_match: boolWhether the capture_id matches between JWT and media_integrity
fingerprint_match: boolWhether the device public key fingerprint matches
content_hash: StringThe content hash from the sidecar
capture_id: StringThe capture ID from media_integrity
captured_at: StringThe captured_at timestamp from media_integrity
Trait Implementations§
Source§impl Clone for MediaIntegrityResult
impl Clone for MediaIntegrityResult
Source§fn clone(&self) -> MediaIntegrityResult
fn clone(&self) -> MediaIntegrityResult
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 MediaIntegrityResult
impl Debug for MediaIntegrityResult
Source§impl<'de> Deserialize<'de> for MediaIntegrityResult
impl<'de> Deserialize<'de> for MediaIntegrityResult
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 MediaIntegrityResult
impl RefUnwindSafe for MediaIntegrityResult
impl Send for MediaIntegrityResult
impl Sync for MediaIntegrityResult
impl Unpin for MediaIntegrityResult
impl UnsafeUnpin for MediaIntegrityResult
impl UnwindSafe for MediaIntegrityResult
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