pub struct RecoveryKeys {
pub space: SpaceId,
pub opens: Vec<u64>,
pub lacks: Vec<u64>,
pub entry: Option<bool>,
pub secrets: Option<(Vec<u64>, Vec<u64>)>,
}Expand description
The keys of a space that a recovery code opens, of those that this replica holds and that were given out. The first key is never given out: it reaches a code another way.
Fields§
§space: SpaceIdThe space.
opens: Vec<u64>The numbers of the keys that the records seal to the code, and that open with it to the keys that this replica holds: on any of this replica’s member’s records for the code there, as a member made direct, or one through a group, may have more than one, or else on one member’s.
lacks: Vec<u64>The numbers of the keys that the code was not given, as those made after it was revoked, or that do not open with it.
entry: Option<bool>For a space other than the personal one, whether the code is given that space: an
entry on the code’s record, in the personal space or in a group that the space is
reached through, whose first key opens with the code to the one that this replica
holds. None for the personal space, whose first key reaches a code another way, and
where the personal space does not name the code.
secrets: Option<(Vec<u64>, Vec<u64>)>While this replica’s secrets of the space are unlocked, the numbers of the secrets
keys that it holds and that the code opens, and of those that the code lacks; None
while they are locked, or the replica holds none.
Trait Implementations§
Source§impl Clone for RecoveryKeys
impl Clone for RecoveryKeys
Source§impl Debug for RecoveryKeys
impl Debug for RecoveryKeys
impl Eq for RecoveryKeys
Source§impl PartialEq for RecoveryKeys
impl PartialEq for RecoveryKeys
impl StructuralPartialEq for RecoveryKeys
Auto Trait Implementations§
impl Forget for RecoveryKeys
impl Freeze for RecoveryKeys
impl Move for RecoveryKeys
impl RefUnwindSafe for RecoveryKeys
impl Send for RecoveryKeys
impl Sync for RecoveryKeys
impl Unpin for RecoveryKeys
impl UnsafeUnpin for RecoveryKeys
impl UnwindSafe for RecoveryKeys
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.