pub struct StoreIdentity {
pub id: StoreId,
pub name: String,
pub named_at: Slot,
}Expand description
A store’s identity and current name (§10).
Fields§
§id: StoreIdThe store’s id.
name: StringIts name.
named_at: SlotThe slot that set name: creation’s slot 1, or the latest applied
rename that changed it. A saved restore code’s name is replaced only
by one from a later slot (§13.1).
Implementations§
Source§impl StoreIdentity
impl StoreIdentity
Sourcepub fn check_settings(&self, settings: &StoreSettings) -> Result<(), DbError>
pub fn check_settings(&self, settings: &StoreSettings) -> Result<(), DbError>
Opening requires directory settings to match checked creation (§10).
Trait Implementations§
Source§impl Clone for StoreIdentity
impl Clone for StoreIdentity
Source§fn clone(&self) -> StoreIdentity
fn clone(&self) -> StoreIdentity
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for StoreIdentity
impl Debug for StoreIdentity
Source§impl PartialEq for StoreIdentity
impl PartialEq for StoreIdentity
impl Eq for StoreIdentity
impl StructuralPartialEq for StoreIdentity
Auto Trait Implementations§
impl Freeze for StoreIdentity
impl RefUnwindSafe for StoreIdentity
impl Send for StoreIdentity
impl Sync for StoreIdentity
impl Unpin for StoreIdentity
impl UnsafeUnpin for StoreIdentity
impl UnwindSafe for StoreIdentity
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,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.