pub struct AuthorizedScope {
pub tenant_id: String,
pub project_id: String,
pub subject: String,
}Expand description
Scope derived from a verified gateway-issued internal credential.
Fields§
§tenant_id: String§project_id: String§subject: StringTrait Implementations§
Source§impl Clone for AuthorizedScope
impl Clone for AuthorizedScope
Source§fn clone(&self) -> AuthorizedScope
fn clone(&self) -> AuthorizedScope
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 AuthorizedScope
impl Debug for AuthorizedScope
Source§impl<'de> Deserialize<'de> for AuthorizedScope
impl<'de> Deserialize<'de> for AuthorizedScope
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 AuthorizedScope
Source§impl PartialEq for AuthorizedScope
impl PartialEq for AuthorizedScope
Source§impl Serialize for AuthorizedScope
impl Serialize for AuthorizedScope
impl StructuralPartialEq for AuthorizedScope
Auto Trait Implementations§
impl Freeze for AuthorizedScope
impl RefUnwindSafe for AuthorizedScope
impl Send for AuthorizedScope
impl Sync for AuthorizedScope
impl Unpin for AuthorizedScope
impl UnsafeUnpin for AuthorizedScope
impl UnwindSafe for AuthorizedScope
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