pub struct ParticipantCredentials<'path, 'document, E, N, D, G> { /* private fields */ }Expand description
Complete current-role credentials of the root and all incorporated counters. No caller-provided success list determines which groups are visited. Other actor path/status/material and format-specific obligations remain separate.
Implementations§
Source§impl<'path, 'document, E, N: Copy, D: Copy, G: Copy> ParticipantCredentials<'path, 'document, E, N, D, G>
impl<'path, 'document, E, N: Copy, D: Copy, G: Copy> ParticipantCredentials<'path, 'document, E, N, D, G>
Sourcepub fn snapshot(&self) -> Snapshot<D, G>
pub fn snapshot(&self) -> Snapshot<D, G>
Original root source and generation for the whole participant set.
Sourcepub fn root(&self) -> Option<&Credentials<'path, 'document, E, N, D, G>>
pub fn root(&self) -> Option<&Credentials<'path, 'document, E, N, D, G>>
All original root credentials, if a role property was present.
Sourcepub fn counters(&self) -> &[CounterCredentials<'path, 'document, E, N, D, G>]
pub fn counters(&self) -> &[CounterCredentials<'path, 'document, E, N, D, G>]
Every incorporated counter with a protected current role property. Other counters remain in the separate complete counter-signer census.
Trait Implementations§
Source§impl<'path, 'document, E, N: Copy, D: Copy, G: Copy> CredentialReceipts<'path, 'document> for ParticipantCredentials<'path, 'document, E, N, D, G>
impl<'path, 'document, E, N: Copy, D: Copy, G: Copy> CredentialReceipts<'path, 'document> for ParticipantCredentials<'path, 'document, E, N, D, G>
Source§type Generation = G
type Generation = G
Exact document generation.
Source§type Group = Credentials<'path, 'document, E, N, D, G>
type Group = Credentials<'path, 'document, E, N, D, G>
One signature’s credentials.
Source§fn snapshot(&self) -> Snapshot<D, G>
fn snapshot(&self) -> Snapshot<D, G>
Original root source and generation for the whole participant set.
Auto Trait Implementations§
impl<'path, 'document, E, N, D, G> !Freeze for ParticipantCredentials<'path, 'document, E, N, D, G>
impl<'path, 'document, E, N, D, G> !RefUnwindSafe for ParticipantCredentials<'path, 'document, E, N, D, G>
impl<'path, 'document, E, N, D, G> !Send for ParticipantCredentials<'path, 'document, E, N, D, G>
impl<'path, 'document, E, N, D, G> !Sync for ParticipantCredentials<'path, 'document, E, N, D, G>
impl<'path, 'document, E, N, D, G> !UnwindSafe for ParticipantCredentials<'path, 'document, E, N, D, G>
impl<'path, 'document, E, N, D, G> Forget for ParticipantCredentials<'path, 'document, E, N, D, G>
impl<'path, 'document, E, N, D, G> Unpin for ParticipantCredentials<'path, 'document, E, N, D, G>where
Snapshot<D, G>: Unpin,
N: Unpin,
Option<Credentials<'path, 'document, E, N, D, G>>: Unpin,
OwnedVec<CounterCredentials<'path, 'document, E, N, D, G>>: Unpin,
impl<'path, 'document, E, N, D, G> UnsafeUnpin for ParticipantCredentials<'path, 'document, E, N, D, G>where
Snapshot<D, G>: UnsafeUnpin,
N: UnsafeUnpin,
Option<Credentials<'path, 'document, E, N, D, G>>: UnsafeUnpin,
OwnedVec<CounterCredentials<'path, 'document, E, N, D, G>>: 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