pub struct GrantOptions {
pub grant_type: Option<GrantType>,
pub idempotency_key: Option<String>,
pub preferred_grant_types: Vec<GrantType>,
pub requested_scopes: Vec<String>,
}Fields§
§grant_type: Option<GrantType>§idempotency_key: Option<String>§preferred_grant_types: Vec<GrantType>§requested_scopes: Vec<String>Trait Implementations§
Source§impl Clone for GrantOptions
impl Clone for GrantOptions
Source§fn clone(&self) -> GrantOptions
fn clone(&self) -> GrantOptions
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 GrantOptions
impl Debug for GrantOptions
Source§impl Default for GrantOptions
impl Default for GrantOptions
Source§fn default() -> GrantOptions
fn default() -> GrantOptions
Returns the “default value” for a type. Read more
impl Eq for GrantOptions
Source§impl PartialEq for GrantOptions
impl PartialEq for GrantOptions
impl StructuralPartialEq for GrantOptions
Auto Trait Implementations§
impl Freeze for GrantOptions
impl RefUnwindSafe for GrantOptions
impl Send for GrantOptions
impl Sync for GrantOptions
impl Unpin for GrantOptions
impl UnsafeUnpin for GrantOptions
impl UnwindSafe for GrantOptions
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