Struct ruma_identifiers::KeyId
source · [−]#[repr(transparent)]pub struct KeyId<A, K: ?Sized>(_, _);
Expand description
A key algorithm and key name delimited by a colon.
Implementations
Trait Implementations
sourceimpl<A, K: ?Sized> Ord for KeyId<A, K>
impl<A, K: ?Sized> Ord for KeyId<A, K>
sourceimpl<A, K: ?Sized> PartialOrd<KeyId<A, K>> for KeyId<A, K>
impl<A, K: ?Sized> PartialOrd<KeyId<A, K>> for KeyId<A, K>
sourcefn partial_cmp(&self, other: &Self) -> Option<Ordering>
fn partial_cmp(&self, other: &Self) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
1.0.0 · sourcefn lt(&self, other: &Rhs) -> bool
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
sourceimpl<A, K: ?Sized> ToOwned for KeyId<A, K>
impl<A, K: ?Sized> ToOwned for KeyId<A, K>
impl<A, K: ?Sized> Eq for KeyId<A, K>
Auto Trait Implementations
impl<A, K: ?Sized> RefUnwindSafe for KeyId<A, K> where
A: RefUnwindSafe,
K: RefUnwindSafe,
impl<A, K: ?Sized> Send for KeyId<A, K> where
A: Send,
K: Send,
impl<A, K> !Sized for KeyId<A, K>
impl<A, K: ?Sized> Sync for KeyId<A, K> where
A: Sync,
K: Sync,
impl<A, K: ?Sized> Unpin for KeyId<A, K> where
A: Unpin,
K: Unpin,
impl<A, K: ?Sized> UnwindSafe for KeyId<A, K> where
A: UnwindSafe,
K: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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