pub struct ChainReport { /* private fields */ }Expand description
What a Chain-Verifier observed about a presentation it accepted.
An empty report is the ordinary case and means the presentation was
structurally sound and uniform in its issuerAffiliation.
There is deliberately no accessor returning a single affiliation value for the chain. A caller wanting to know what a given receipt claims reads that receipt. Supplying one value for the whole presentation is the collapse this type exists to prevent.
Implementations§
Source§impl ChainReport
impl ChainReport
Sourcepub fn affiliation_changes(&self) -> &[AffiliationChange]
pub fn affiliation_changes(&self) -> &[AffiliationChange]
Every point at which issuerAffiliation changed, in presentation order.
Sourcepub fn affiliation_is_uniform(&self) -> bool
pub fn affiliation_is_uniform(&self) -> bool
True when every receipt in the presentation carried the same
issuerAffiliation.
Trait Implementations§
Source§impl Clone for ChainReport
impl Clone for ChainReport
Source§impl Debug for ChainReport
impl Debug for ChainReport
Source§impl Default for ChainReport
impl Default for ChainReport
impl Eq for ChainReport
Source§impl PartialEq for ChainReport
impl PartialEq for ChainReport
impl StructuralPartialEq for ChainReport
Auto Trait Implementations§
impl Freeze for ChainReport
impl RefUnwindSafe for ChainReport
impl Send for ChainReport
impl Sync for ChainReport
impl Unpin for ChainReport
impl UnsafeUnpin for ChainReport
impl UnwindSafe for ChainReport
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