pub struct ImportedClientCredentials {
pub client_id: String,
pub client_secret: Secret,
}Expand description
A parsed, not-yet-persisted OAuth2 client id/secret.
Fields§
§client_id: StringOAuth2 client id (not secret).
client_secret: SecretOAuth2 client secret (redacted in Debug output).
Trait Implementations§
Source§impl Clone for ImportedClientCredentials
impl Clone for ImportedClientCredentials
Source§fn clone(&self) -> ImportedClientCredentials
fn clone(&self) -> ImportedClientCredentials
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 moreAuto Trait Implementations§
impl Freeze for ImportedClientCredentials
impl RefUnwindSafe for ImportedClientCredentials
impl Send for ImportedClientCredentials
impl Sync for ImportedClientCredentials
impl Unpin for ImportedClientCredentials
impl UnsafeUnpin for ImportedClientCredentials
impl UnwindSafe for ImportedClientCredentials
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