pub struct Complete<'receipt, 'model, 'document, 'path, E> { /* private fields */ }Expand description
Borrowed full credential proof. Its construction cannot select a successful subset or replace the original protecting signature.
Implementations§
Source§impl<'r, 'm, 'd, 'p, E> Complete<'r, 'm, 'd, 'p, E>
impl<'r, 'm, 'd, 'p, E> Complete<'r, 'm, 'd, 'p, E>
Sourcepub fn root_group(&self) -> Option<&'r Group<'m, 'd, 'p, E>>
pub fn root_group(&self) -> Option<&'r Group<'m, 'd, 'p, E>>
Borrows the actual retained root group, without tying its lifetime to a temporary complete-census descriptor or copying authentication.
Sourcepub fn counter_group(
&self,
ordinal: usize,
work: &impl Work,
) -> Result<Option<&'r Group<'m, 'd, 'p, E>>, MemoryError>
pub fn counter_group( &self, ordinal: usize, work: &impl Work, ) -> Result<Option<&'r Group<'m, 'd, 'p, E>>, MemoryError>
Original counter group after current metadata admission. Absence is distinct from refusal; the group remains owned by the source report.
Trait Implementations§
Source§impl<'m, 'd, 'p, E> CredentialReceipts<'p, 'd> for Complete<'_, 'm, 'd, 'p, E>
impl<'m, 'd, 'p, E> CredentialReceipts<'p, 'd> for Complete<'_, 'm, 'd, 'p, E>
Source§type Document = DocumentId<'m, 'd>
type Document = DocumentId<'m, 'd>
Stable document identity.
Source§type Generation = ()
type Generation = ()
Exact document generation.
Source§fn snapshot(&self) -> Snapshot<DocumentId<'m, 'd>, ()>
fn snapshot(&self) -> Snapshot<DocumentId<'m, 'd>, ()>
Original root source and generation for the whole participant set.
Auto Trait Implementations§
impl<'receipt, 'model, 'document, 'path, E> !RefUnwindSafe for Complete<'receipt, 'model, 'document, 'path, E>
impl<'receipt, 'model, 'document, 'path, E> !Send for Complete<'receipt, 'model, 'document, 'path, E>
impl<'receipt, 'model, 'document, 'path, E> !Sync for Complete<'receipt, 'model, 'document, 'path, E>
impl<'receipt, 'model, 'document, 'path, E> !UnwindSafe for Complete<'receipt, 'model, 'document, 'path, E>
impl<'receipt, 'model, 'document, 'path, E> Freeze for Complete<'receipt, 'model, 'document, 'path, E>
impl<'receipt, 'model, 'document, 'path, E> Unpin for Complete<'receipt, 'model, 'document, 'path, E>
impl<'receipt, 'model, 'document, 'path, E> UnsafeUnpin for Complete<'receipt, 'model, 'document, 'path, E>where
&'receipt Report<'model, 'document, 'path, E>: UnsafeUnpin,
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