pub struct Purges {
pub changes: BTreeSet<ChangeId>,
pub statements: BTreeSet<StatementId>,
pub blobs: BTreeSet<Hash>,
}Expand description
What a change purges: changes, whose keys and payloads every replica destroys; secret statements, whose record keys it destroys; and blobs, by the sealed hashes of the blobs whose keys it destroys.
In CBOR, purges are the array [changes, statements, blobs], each sorted by its bytes
without duplicates.
Fields§
§changes: BTreeSet<ChangeId>The changes whose keys and payloads the change destroys.
statements: BTreeSet<StatementId>The secret statements whose record keys the change destroys.
blobs: BTreeSet<Hash>The sealed hashes of the blobs whose keys the change destroys.
Implementations§
Trait Implementations§
impl Eq for Purges
impl StructuralPartialEq for Purges
Auto Trait Implementations§
impl Forget for Purges
impl Freeze for Purges
impl Move for Purges
impl RefUnwindSafe for Purges
impl Send for Purges
impl Sync for Purges
impl Unpin for Purges
impl UnsafeUnpin for Purges
impl UnwindSafe for Purges
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