pub struct RevocationState {
pub user: Fingerprint,
pub head: ContentId,
pub len: u64,
pub generation: u64,
pub revoked: BTreeSet<Fingerprint>,
}Expand description
What a verified log says: who owns it, where it ends, what is revoked.
Fields§
§user: FingerprintFingerprint of the user that signed the log.
head: ContentIdId of the last node.
len: u64Number of nodes, genesis included.
generation: u64Current generation (0 before any bump).
revoked: BTreeSet<Fingerprint>Fingerprints of revoked agents.
Implementations§
Trait Implementations§
Source§impl Clone for RevocationState
impl Clone for RevocationState
Source§impl Debug for RevocationState
impl Debug for RevocationState
impl Eq for RevocationState
Source§impl PartialEq for RevocationState
impl PartialEq for RevocationState
impl StructuralPartialEq for RevocationState
Auto Trait Implementations§
impl Freeze for RevocationState
impl RefUnwindSafe for RevocationState
impl Send for RevocationState
impl Sync for RevocationState
impl Unpin for RevocationState
impl UnsafeUnpin for RevocationState
impl UnwindSafe for RevocationState
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