pub struct StoreName(_);Expand description
Name of a store
This has to be a static string and has certain constraints of it such as the length and types of characters allowed in it (alphanumeric and ‘-’, ‘_’).
Implementations
sourceimpl StoreName
impl StoreName
sourcepub const MAX_LEN: usize = 54usize
pub const MAX_LEN: usize = 54usize
Maximum allowed length of name of a store
Internal
TODO: This is currently too long, should reduce to 32 but currently can’t as we have stores in use with longer names.
The host has a limitation on 64 total for store name + user id (~20 chars), see SyncStoreName
Trait Implementations
sourceimpl PartialEq<StoreName> for StoreName
impl PartialEq<StoreName> for StoreName
impl Copy for StoreName
impl Eq for StoreName
impl StructuralEq for StoreName
impl StructuralPartialEq for StoreName
Auto Trait Implementations
impl RefUnwindSafe for StoreName
impl Send for StoreName
impl Sync for StoreName
impl Unpin for StoreName
impl UnwindSafe for StoreName
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
