pub struct StoreId(pub String);Expand description
Stable identity assigned by the store registry, independent of its display name. IDs must be unique and persist across restarts and enable/disable operations. A replacement store with a different source namespace needs a new ID so saved locators and cursors cannot silently resolve against another source.
Tuple Fields§
§0: StringTrait Implementations§
Source§impl<'de> Deserialize<'de> for StoreId
impl<'de> Deserialize<'de> for StoreId
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
impl Eq for StoreId
impl StructuralPartialEq for StoreId
Auto Trait Implementations§
impl Freeze for StoreId
impl RefUnwindSafe for StoreId
impl Send for StoreId
impl Sync for StoreId
impl Unpin for StoreId
impl UnsafeUnpin for StoreId
impl UnwindSafe for StoreId
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