pub struct ClientCredentialsConfig {
pub token_url: String,
pub client_id: String,
pub client_secret: String,
pub scopes: Vec<String>,
pub refresh_skew_seconds: Option<u64>,
}Fields§
§token_url: String§client_id: String§client_secret: String§scopes: Vec<String>§refresh_skew_seconds: Option<u64>Trait Implementations§
Source§impl Clone for ClientCredentialsConfig
impl Clone for ClientCredentialsConfig
Source§fn clone(&self) -> ClientCredentialsConfig
fn clone(&self) -> ClientCredentialsConfig
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 moreAuto Trait Implementations§
impl Freeze for ClientCredentialsConfig
impl RefUnwindSafe for ClientCredentialsConfig
impl Send for ClientCredentialsConfig
impl Sync for ClientCredentialsConfig
impl Unpin for ClientCredentialsConfig
impl UnsafeUnpin for ClientCredentialsConfig
impl UnwindSafe for ClientCredentialsConfig
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