pub struct ParentGroupId<'a>(/* private fields */);Expand description
This type exists so that we can efficiently search for the children of a given group.
Trait Implementations§
Source§impl<'a> AsRef<&'a [u8]> for ParentGroupId<'a>
impl<'a> AsRef<&'a [u8]> for ParentGroupId<'a>
Source§impl<'a> Clone for ParentGroupId<'a>
impl<'a> Clone for ParentGroupId<'a>
Source§fn clone(&self) -> ParentGroupId<'a>
fn clone(&self) -> ParentGroupId<'a>
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<'a> Debug for ParentGroupId<'a>
impl<'a> Debug for ParentGroupId<'a>
Source§impl<'a> From<&'a [u8]> for ParentGroupId<'a>
impl<'a> From<&'a [u8]> for ParentGroupId<'a>
Source§impl<'a> From<ParentGroupId<'a>> for &'a [u8]
impl<'a> From<ParentGroupId<'a>> for &'a [u8]
Source§fn from(value: ParentGroupId<'a>) -> Self
fn from(value: ParentGroupId<'a>) -> Self
Converts to this type from the input type.
Source§impl<'a> KeyType for ParentGroupId<'a>
impl<'a> KeyType for ParentGroupId<'a>
Source§impl<'a> PartialEq for ParentGroupId<'a>
impl<'a> PartialEq for ParentGroupId<'a>
Source§impl<'a> SearchableEntity<ParentGroupId<'a>> for PersistedMlsGroup
impl<'a> SearchableEntity<ParentGroupId<'a>> for PersistedMlsGroup
Source§fn find_all_matching<'life0, 'life1, 'async_trait>(
conn: &'life0 mut Self::ConnectionType,
parent_id: &'life1 ParentGroupId<'a>,
) -> Pin<Box<dyn Future<Output = CryptoKeystoreResult<Vec<Self>>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn find_all_matching<'life0, 'life1, 'async_trait>(
conn: &'life0 mut Self::ConnectionType,
parent_id: &'life1 ParentGroupId<'a>,
) -> Pin<Box<dyn Future<Output = CryptoKeystoreResult<Vec<Self>>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Find all entities matching the search key. Read more
impl<'a> Copy for ParentGroupId<'a>
impl<'a> Eq for ParentGroupId<'a>
impl<'a> StructuralPartialEq for ParentGroupId<'a>
Auto Trait Implementations§
impl<'a> Freeze for ParentGroupId<'a>
impl<'a> RefUnwindSafe for ParentGroupId<'a>
impl<'a> Send for ParentGroupId<'a>
impl<'a> Sync for ParentGroupId<'a>
impl<'a> Unpin for ParentGroupId<'a>
impl<'a> UnwindSafe for ParentGroupId<'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,
§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
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.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