pub struct IdentityRow {
pub knowledge: usize,
pub identity: String,
pub former: String,
}Expand description
IdentityRow holds the current and former identities of one store as
text, in the form that the cache keeps (CACHE-1_AC-16).
Fields§
§knowledge: usizeknowledge is the index of the knowledge store.
identity: Stringidentity is the identity, scope/name, or an empty string when the
manifest declares none.
former: Stringformer holds the former identities, one scope/name on each line.
Trait Implementations§
Source§impl Clone for IdentityRow
impl Clone for IdentityRow
Source§impl Debug for IdentityRow
impl Debug for IdentityRow
impl Eq for IdentityRow
Source§impl Ord for IdentityRow
impl Ord for IdentityRow
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for IdentityRow
impl PartialEq for IdentityRow
Source§impl PartialOrd for IdentityRow
impl PartialOrd for IdentityRow
impl StructuralPartialEq for IdentityRow
Auto Trait Implementations§
impl Forget for IdentityRow
impl Freeze for IdentityRow
impl Move for IdentityRow
impl RefUnwindSafe for IdentityRow
impl Send for IdentityRow
impl Sync for IdentityRow
impl Unpin for IdentityRow
impl UnsafeUnpin for IdentityRow
impl UnwindSafe for IdentityRow
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
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
Compare self to
key and return true if they are equal.