pub struct SubordinateRole;
Expand description
A marker that indicates the Key
should be treated like a subkey.
Refer to KeyRole
for details.
Trait Implementations§
Source§impl Clone for SubordinateRole
impl Clone for SubordinateRole
Source§fn clone(&self) -> SubordinateRole
fn clone(&self) -> SubordinateRole
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for SubordinateRole
impl Debug for SubordinateRole
Source§impl Hash for SubordinateRole
impl Hash for SubordinateRole
Source§impl KeyRole for SubordinateRole
impl KeyRole for SubordinateRole
Source§fn convert_key<P: KeyParts>(key: Key<P, UnspecifiedRole>) -> Key<P, Self>
fn convert_key<P: KeyParts>(key: Key<P, UnspecifiedRole>) -> Key<P, Self>
Converts a key with an unspecified role into this kind of key. Read more
Source§fn convert_key_ref<P: KeyParts>(key: &Key<P, UnspecifiedRole>) -> &Key<P, Self>
fn convert_key_ref<P: KeyParts>(key: &Key<P, UnspecifiedRole>) -> &Key<P, Self>
Converts a key reference with an unspecified role into this
kind of key reference. Read more
Source§fn convert_bundle<P: KeyParts>(
bundle: KeyBundle<P, UnspecifiedRole>,
) -> KeyBundle<P, Self>
fn convert_bundle<P: KeyParts>( bundle: KeyBundle<P, UnspecifiedRole>, ) -> KeyBundle<P, Self>
Converts a key bundle with an unspecified role into this kind
of key bundle. Read more
Source§fn convert_bundle_ref<P: KeyParts>(
bundle: &KeyBundle<P, UnspecifiedRole>,
) -> &KeyBundle<P, Self>
fn convert_bundle_ref<P: KeyParts>( bundle: &KeyBundle<P, UnspecifiedRole>, ) -> &KeyBundle<P, Self>
Converts a key bundle reference with an unspecified role into
this kind of key bundle reference. Read more
Source§impl PartialEq for SubordinateRole
impl PartialEq for SubordinateRole
Source§impl<'a, P> PrimaryKey<'a, P, SubordinateRole> for SubordinateKeyAmalgamation<'a, P>where
P: 'a + KeyParts,
impl<'a, P> PrimaryKey<'a, P, SubordinateRole> for SubordinateKeyAmalgamation<'a, P>where
P: 'a + KeyParts,
Source§impl<'a, P> PrimaryKey<'a, P, SubordinateRole> for ValidSubordinateKeyAmalgamation<'a, P>where
P: 'a + KeyParts,
impl<'a, P> PrimaryKey<'a, P, SubordinateRole> for ValidSubordinateKeyAmalgamation<'a, P>where
P: 'a + KeyParts,
impl Copy for SubordinateRole
impl Eq for SubordinateRole
impl StructuralPartialEq for SubordinateRole
Auto Trait Implementations§
impl Freeze for SubordinateRole
impl RefUnwindSafe for SubordinateRole
impl Send for SubordinateRole
impl Sync for SubordinateRole
impl Unpin for SubordinateRole
impl UnwindSafe for SubordinateRole
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