pub struct ProvidedScope {
pub scope: String,
pub description: String,
pub resource_pattern: String,
}Expand description
A single scope provided by an app (existing v1 model, preserved verbatim).
Fields§
§scope: String§description: String§resource_pattern: StringTrait Implementations§
Source§impl Clone for ProvidedScope
impl Clone for ProvidedScope
Source§fn clone(&self) -> ProvidedScope
fn clone(&self) -> ProvidedScope
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 ProvidedScope
impl Debug for ProvidedScope
Source§impl Default for ProvidedScope
impl Default for ProvidedScope
Source§fn default() -> ProvidedScope
fn default() -> ProvidedScope
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ProvidedScope
impl<'de> Deserialize<'de> for ProvidedScope
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
Auto Trait Implementations§
impl Freeze for ProvidedScope
impl RefUnwindSafe for ProvidedScope
impl Send for ProvidedScope
impl Sync for ProvidedScope
impl Unpin for ProvidedScope
impl UnsafeUnpin for ProvidedScope
impl UnwindSafe for ProvidedScope
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