pub enum IdentityScope {
Session,
Project,
}Expand description
A BindIdentity key a provider partitions its state or answers by.
Declared in a role’s identity_scope to say which caller keys change
what the module does; the daemon hands every bind all of the keys
regardless, so an empty declaration means “answers do not depend on the
caller”, never “keys are refused”.
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§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