pub struct StoreCreationId(/* private fields */);Implementations§
Source§impl StoreCreationId
impl StoreCreationId
pub fn from_random_bytes(bytes: [u8; 32]) -> Self
pub fn from_nonce(nonce: &str) -> Self
Trait Implementations§
Source§impl Clone for StoreCreationId
impl Clone for StoreCreationId
Source§fn clone(&self) -> StoreCreationId
fn clone(&self) -> StoreCreationId
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 StoreCreationId
impl Debug for StoreCreationId
Source§impl<'de> Deserialize<'de> for StoreCreationId
impl<'de> Deserialize<'de> for StoreCreationId
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 Display for StoreCreationId
impl Display for StoreCreationId
Source§impl Hash for StoreCreationId
impl Hash for StoreCreationId
Source§impl Ord for StoreCreationId
impl Ord for StoreCreationId
Source§fn cmp(&self, other: &StoreCreationId) -> Ordering
fn cmp(&self, other: &StoreCreationId) -> Ordering
1.21.0 · 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
Source§impl PartialEq for StoreCreationId
impl PartialEq for StoreCreationId
Source§impl PartialOrd for StoreCreationId
impl PartialOrd for StoreCreationId
Source§impl Serialize for StoreCreationId
impl Serialize for StoreCreationId
impl Copy for StoreCreationId
impl Eq for StoreCreationId
impl StructuralPartialEq for StoreCreationId
Auto Trait Implementations§
impl Freeze for StoreCreationId
impl RefUnwindSafe for StoreCreationId
impl Send for StoreCreationId
impl Sync for StoreCreationId
impl Unpin for StoreCreationId
impl UnsafeUnpin for StoreCreationId
impl UnwindSafe for StoreCreationId
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> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
§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.