pub struct VerificationReport {Show 14 fields
pub schema_version: String,
pub profile: String,
pub mime_type: String,
pub present: bool,
pub integrity: String,
pub signature: String,
pub hard_binding: String,
pub trust: TrustReport,
pub policy: Option<Value>,
pub managed_receipt: Option<Value>,
pub validation_state: String,
pub validation_results: ValidationResults,
pub manifest_report: Value,
pub content_credentials: Option<Value>,
}Fields§
§schema_version: String§profile: String§mime_type: String§present: bool§integrity: String§signature: String§hard_binding: String§trust: TrustReport§policy: Option<Value>§managed_receipt: Option<Value>§validation_state: String§validation_results: ValidationResults§manifest_report: Value§content_credentials: Option<Value>Implementations§
Source§impl VerificationReport
impl VerificationReport
pub fn to_json(&self) -> Result<String, Error>
pub fn to_pretty_json(&self) -> Result<String, Error>
Sourcepub fn cawg_statuses(&self) -> Vec<&VerificationStatus>
pub fn cawg_statuses(&self) -> Vec<&VerificationStatus>
All CAWG identity / ICA credential statuses (cawg.* codes), across
the success, informational, and failure sections. CAWG failures are
assertion-scoped: they never invalidate C2PA manifest integrity.
Trait Implementations§
Source§impl Clone for VerificationReport
impl Clone for VerificationReport
Source§fn clone(&self) -> VerificationReport
fn clone(&self) -> VerificationReport
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 VerificationReport
impl Debug for VerificationReport
Source§impl<'de> Deserialize<'de> for VerificationReport
impl<'de> Deserialize<'de> for VerificationReport
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 VerificationReport
impl RefUnwindSafe for VerificationReport
impl Send for VerificationReport
impl Sync for VerificationReport
impl Unpin for VerificationReport
impl UnsafeUnpin for VerificationReport
impl UnwindSafe for VerificationReport
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