pub struct StoreSettings {
pub id: StoreId,
pub device_id: DeviceId,
}Expand description
The settings written when creating, restoring or joining a store (E1). Storage settings belong to coven-storage’s own named file.
Fields§
§id: StoreIdThe store’s identity, shared by all of its devices.
device_id: DeviceIdThis install’s identity; a restored copy receives a fresh one (§19.3).
Trait Implementations§
Source§impl Clone for StoreSettings
impl Clone for StoreSettings
Source§fn clone(&self) -> StoreSettings
fn clone(&self) -> StoreSettings
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 StoreSettings
impl Debug for StoreSettings
Source§impl<'de> Deserialize<'de> for StoreSettings
impl<'de> Deserialize<'de> for StoreSettings
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for StoreSettings
impl PartialEq for StoreSettings
Source§impl Serialize for StoreSettings
impl Serialize for StoreSettings
impl Eq for StoreSettings
impl StructuralPartialEq for StoreSettings
Auto Trait Implementations§
impl Freeze for StoreSettings
impl RefUnwindSafe for StoreSettings
impl Send for StoreSettings
impl Sync for StoreSettings
impl Unpin for StoreSettings
impl UnsafeUnpin for StoreSettings
impl UnwindSafe for StoreSettings
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