Skip to main content

Report

Struct Report 

Source
pub struct Report<'auth, 'receipt, 'model, 'document, 'path, E> { /* private fields */ }
Expand description

Same complete credential receipt under one whole/archive source scope.

Implementations§

Source§

impl<'m, 'd, E> Report<'_, '_, 'm, 'd, '_, E>

Source

pub fn entries(&self) -> &[Entry<'m, 'd>]

Every original credential required by this exact source scope.

Source

pub fn all_requirements_met(&self) -> bool

Complete interpretation AND original incorporation/coverage.

Trait Implementations§

Source§

impl<'r, 'm, 'd, 'p, E> CredentialMaterial for Report<'_, 'r, 'm, 'd, 'p, E>

Source§

type Id = Node

Original node identity.
Source§

type Document = DocumentId<'m, 'd>

Stable document identity.
Source§

type Generation = ()

Exact document generation.
Source§

type Credentials = Complete<'r, 'm, 'd, 'p, E>

The authenticated credential census the report checked.
Source§

fn scope(&self) -> TimestampScope<Node, Self::Document, ()>

Whole-signature or preceding-archive scope of the report.
Source§

fn snapshot(&self) -> Snapshot<Self::Document, ()>

Source generation of the authenticated credential census.
Source§

fn credentials(&self) -> &Self::Credentials

Same authenticated credential census, by reference.
Source§

fn all_requirements_met(&self) -> bool

Every credential’s own format material is present and interpreted.

Auto Trait Implementations§

§

impl<'auth, 'receipt, 'model, 'document, 'path, E> !Freeze for Report<'auth, 'receipt, 'model, 'document, 'path, E>

§

impl<'auth, 'receipt, 'model, 'document, 'path, E> !RefUnwindSafe for Report<'auth, 'receipt, 'model, 'document, 'path, E>

§

impl<'auth, 'receipt, 'model, 'document, 'path, E> !Send for Report<'auth, 'receipt, 'model, 'document, 'path, E>

§

impl<'auth, 'receipt, 'model, 'document, 'path, E> !Sync for Report<'auth, 'receipt, 'model, 'document, 'path, E>

§

impl<'auth, 'receipt, 'model, 'document, 'path, E> !UnwindSafe for Report<'auth, 'receipt, 'model, 'document, 'path, E>

§

impl<'auth, 'receipt, 'model, 'document, 'path, E> Forget for Report<'auth, 'receipt, 'model, 'document, 'path, E>

§

impl<'auth, 'receipt, 'model, 'document, 'path, E> Unpin for Report<'auth, 'receipt, 'model, 'document, 'path, E>
where &'auth Complete<'receipt, 'model, 'document, 'path, E>: Unpin,

§

impl<'auth, 'receipt, 'model, 'document, 'path, E> UnsafeUnpin for Report<'auth, 'receipt, 'model, 'document, 'path, E>
where &'auth Complete<'receipt, 'model, 'document, 'path, E>: UnsafeUnpin,

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = !

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, !>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.