pub trait VerifiedFields: SignedFields {
// Required method
fn metadata(&self) -> &VerificationMetadata;
// Provided method
fn soft_failed(&self) -> bool { ... }
}Expand description
A trait which accesses fields of a verified event
Required Methods§
Sourcefn metadata(&self) -> &VerificationMetadata
fn metadata(&self) -> &VerificationMetadata
Get the verification metadata for the event
Provided Methods§
Sourcefn soft_failed(&self) -> bool
fn soft_failed(&self) -> bool
Whether the event was soft-failed during verification.
See VerificationMetadata::soft_failed for details.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".