pub struct CallerScope {
pub subject: String,
pub tenant_id: String,
pub project_id: String,
pub capabilities: Vec<String>,
}Fields§
§subject: String§tenant_id: String§project_id: String§capabilities: Vec<String>Implementations§
Source§impl CallerScope
impl CallerScope
pub fn validate(&self) -> Result<(), IdentifierError>
Trait Implementations§
Source§impl Clone for CallerScope
impl Clone for CallerScope
Source§fn clone(&self) -> CallerScope
fn clone(&self) -> CallerScope
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 CallerScope
impl Debug for CallerScope
Source§impl<'de> Deserialize<'de> for CallerScope
impl<'de> Deserialize<'de> for CallerScope
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
impl Eq for CallerScope
Source§impl PartialEq for CallerScope
impl PartialEq for CallerScope
Source§impl Serialize for CallerScope
impl Serialize for CallerScope
impl StructuralPartialEq for CallerScope
Auto Trait Implementations§
impl Freeze for CallerScope
impl RefUnwindSafe for CallerScope
impl Send for CallerScope
impl Sync for CallerScope
impl Unpin for CallerScope
impl UnsafeUnpin for CallerScope
impl UnwindSafe for CallerScope
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