pub enum IdentityScope {
Session,
Project,
}Expand description
Identity keys that route or scope a call.
Variants§
Trait Implementations§
Source§impl Clone for IdentityScope
impl Clone for IdentityScope
Source§fn clone(&self) -> IdentityScope
fn clone(&self) -> IdentityScope
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 IdentityScope
impl Debug for IdentityScope
Source§impl<'de> Deserialize<'de> for IdentityScope
impl<'de> Deserialize<'de> for IdentityScope
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 PartialEq for IdentityScope
impl PartialEq for IdentityScope
Source§fn eq(&self, other: &IdentityScope) -> bool
fn eq(&self, other: &IdentityScope) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for IdentityScope
impl Serialize for IdentityScope
impl StructuralPartialEq for IdentityScope
Auto Trait Implementations§
impl Freeze for IdentityScope
impl RefUnwindSafe for IdentityScope
impl Send for IdentityScope
impl Sync for IdentityScope
impl Unpin for IdentityScope
impl UnsafeUnpin for IdentityScope
impl UnwindSafe for IdentityScope
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