pub struct OAuthClient {Show 14 fields
pub client_id: String,
pub client_name: String,
pub client_secret: Option<String>,
pub client_type: OAuthClientType,
pub token_endpoint_auth_method: String,
pub registration_type: OAuthClientRegistrationType,
pub client_uri: Option<String>,
pub logo_uri: Option<String>,
pub redirect_uris: Vec<String>,
pub grant_types: Vec<OAuthClientGrantType>,
pub response_types: Vec<OAuthClientResponseType>,
pub scope: Option<String>,
pub created_at: String,
pub updated_at: String,
}Expand description
A registered OAuth client.
Fields§
§client_id: String§client_name: String§client_secret: Option<String>§client_type: OAuthClientType§token_endpoint_auth_method: String§registration_type: OAuthClientRegistrationType§client_uri: Option<String>§logo_uri: Option<String>§redirect_uris: Vec<String>§grant_types: Vec<OAuthClientGrantType>§response_types: Vec<OAuthClientResponseType>§scope: Option<String>§created_at: String§updated_at: StringTrait Implementations§
Source§impl Clone for OAuthClient
impl Clone for OAuthClient
Source§fn clone(&self) -> OAuthClient
fn clone(&self) -> OAuthClient
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 OAuthClient
impl Debug for OAuthClient
Source§impl<'de> Deserialize<'de> for OAuthClient
impl<'de> Deserialize<'de> for OAuthClient
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 OAuthClient
impl RefUnwindSafe for OAuthClient
impl Send for OAuthClient
impl Sync for OAuthClient
impl Unpin for OAuthClient
impl UnsafeUnpin for OAuthClient
impl UnwindSafe for OAuthClient
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