pub struct VerificationReport {
pub status: VerificationStatus,
pub chain: Vec<ChainLink>,
pub warnings: Vec<String>,
pub witness_quorum: Option<WitnessQuorum>,
}Expand description
Machine-readable verification result containing status, chain details, and warnings.
Fields§
§status: VerificationStatusThe overall verification status
chain: Vec<ChainLink>Details of each link in the verification chain
warnings: Vec<String>Non-fatal warnings encountered during verification
witness_quorum: Option<WitnessQuorum>Optional witness quorum result (present when witness verification was performed)
Implementations§
Source§impl VerificationReport
impl VerificationReport
Sourcepub fn valid(chain: Vec<ChainLink>) -> Self
pub fn valid(chain: Vec<ChainLink>) -> Self
Creates a new valid VerificationReport with the given chain.
Sourcepub fn with_status(status: VerificationStatus, chain: Vec<ChainLink>) -> Self
pub fn with_status(status: VerificationStatus, chain: Vec<ChainLink>) -> Self
Creates a new VerificationReport with the given status and chain.
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 · 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
Source§impl PartialEq for VerificationReport
impl PartialEq for VerificationReport
Source§impl Serialize for VerificationReport
impl Serialize for VerificationReport
impl StructuralPartialEq for VerificationReport
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