pub struct RestDescriptionAuthOauth2 {
pub scopes: Option<HashMap<String, RestDescriptionAuthOauth2Scopes>>,
}
Expand description
OAuth 2.0 authentication information.
This type is not used in any activity, and only used as part of another schema.
Fields§
§scopes: Option<HashMap<String, RestDescriptionAuthOauth2Scopes>>
Available OAuth 2.0 scopes.
Trait Implementations§
source§impl Clone for RestDescriptionAuthOauth2
impl Clone for RestDescriptionAuthOauth2
source§fn clone(&self) -> RestDescriptionAuthOauth2
fn clone(&self) -> RestDescriptionAuthOauth2
Returns a copy of the value. Read more
1.0.0 · 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 RestDescriptionAuthOauth2
impl Debug for RestDescriptionAuthOauth2
source§impl Default for RestDescriptionAuthOauth2
impl Default for RestDescriptionAuthOauth2
source§fn default() -> RestDescriptionAuthOauth2
fn default() -> RestDescriptionAuthOauth2
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for RestDescriptionAuthOauth2
impl<'de> Deserialize<'de> for RestDescriptionAuthOauth2
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 NestedType for RestDescriptionAuthOauth2
impl Part for RestDescriptionAuthOauth2
Auto Trait Implementations§
impl RefUnwindSafe for RestDescriptionAuthOauth2
impl Send for RestDescriptionAuthOauth2
impl Sync for RestDescriptionAuthOauth2
impl Unpin for RestDescriptionAuthOauth2
impl UnwindSafe for RestDescriptionAuthOauth2
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