pub struct StringEntityId<'a>(/* private fields */);
Implementations§
Trait Implementations§
source§impl<'a> Clone for StringEntityId<'a>
impl<'a> Clone for StringEntityId<'a>
source§fn clone(&self) -> StringEntityId<'a>
fn clone(&self) -> StringEntityId<'a>
Returns a copy 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<'a> Debug for StringEntityId<'a>
impl<'a> Debug for StringEntityId<'a>
source§impl<'a> Default for StringEntityId<'a>
impl<'a> Default for StringEntityId<'a>
source§fn default() -> StringEntityId<'a>
fn default() -> StringEntityId<'a>
Returns the “default value” for a type. Read more
source§impl<'de: 'a, 'a> Deserialize<'de> for StringEntityId<'a>
impl<'de: 'a, 'a> Deserialize<'de> for StringEntityId<'a>
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 StringEntityId<'_>
impl Display for StringEntityId<'_>
source§impl<'a> From<&'a [u8]> for StringEntityId<'a>
impl<'a> From<&'a [u8]> for StringEntityId<'a>
source§impl<'a> PartialEq for StringEntityId<'a>
impl<'a> PartialEq for StringEntityId<'a>
source§impl<'a> Serialize for StringEntityId<'a>
impl<'a> Serialize for StringEntityId<'a>
source§impl TryInto<String> for &StringEntityId<'_>
impl TryInto<String> for &StringEntityId<'_>
source§type Error = CryptoKeystoreError
type Error = CryptoKeystoreError
The type returned in the event of a conversion error.
source§fn try_into(self) -> CryptoKeystoreResult<String>
fn try_into(self) -> CryptoKeystoreResult<String>
Performs the conversion.
impl<'a> Eq for StringEntityId<'a>
impl<'a> StructuralPartialEq for StringEntityId<'a>
Auto Trait Implementations§
impl<'a> Freeze for StringEntityId<'a>
impl<'a> RefUnwindSafe for StringEntityId<'a>
impl<'a> Send for StringEntityId<'a>
impl<'a> Sync for StringEntityId<'a>
impl<'a> Unpin for StringEntityId<'a>
impl<'a> UnwindSafe for StringEntityId<'a>
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,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)§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
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more