pub enum SpaceLabel {
User,
Admin,
}Variants§
Trait Implementations§
Source§impl Clone for SpaceLabel
impl Clone for SpaceLabel
Source§fn clone(&self) -> SpaceLabel
fn clone(&self) -> SpaceLabel
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 SpaceLabel
impl Debug for SpaceLabel
Source§impl EncodeLabelValue for SpaceLabel
impl EncodeLabelValue for SpaceLabel
Source§fn encode(&self, encoder: &mut LabelValueEncoder<'_>) -> Result
fn encode(&self, encoder: &mut LabelValueEncoder<'_>) -> Result
Encode oneself into the given encoder.
Source§impl Hash for SpaceLabel
impl Hash for SpaceLabel
Source§impl PartialEq for SpaceLabel
impl PartialEq for SpaceLabel
impl Copy for SpaceLabel
impl Eq for SpaceLabel
impl StructuralPartialEq for SpaceLabel
Auto Trait Implementations§
impl Freeze for SpaceLabel
impl RefUnwindSafe for SpaceLabel
impl Send for SpaceLabel
impl Sync for SpaceLabel
impl Unpin for SpaceLabel
impl UnsafeUnpin for SpaceLabel
impl UnwindSafe for SpaceLabel
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§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.