pub struct DefaultCredentials {
pub scopes: Option<Vec<String>>,
pub user_scopes: Option<Vec<String>>,
}Expand description
Default credentials (scopes)
Fields§
§scopes: Option<Vec<String>>OAuth scopes
user_scopes: Option<Vec<String>>User-level scopes
Trait Implementations§
Source§impl Clone for DefaultCredentials
impl Clone for DefaultCredentials
Source§fn clone(&self) -> DefaultCredentials
fn clone(&self) -> DefaultCredentials
Returns a duplicate 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 DefaultCredentials
impl Debug for DefaultCredentials
Source§impl<'de> Deserialize<'de> for DefaultCredentials
impl<'de> Deserialize<'de> for DefaultCredentials
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 DefaultCredentials
impl RefUnwindSafe for DefaultCredentials
impl Send for DefaultCredentials
impl Sync for DefaultCredentials
impl Unpin for DefaultCredentials
impl UnsafeUnpin for DefaultCredentials
impl UnwindSafe for DefaultCredentials
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