pub struct OAuthProviderView {Show 13 fields
pub id: Uuid,
pub kind: OAuthProviderKind,
pub name: String,
pub enabled: bool,
pub client_id: String,
pub secret_set: bool,
pub scopes: Vec<String>,
pub authorize_url: String,
pub token_url: String,
pub userinfo_url: String,
pub email_field: String,
pub created_at: DateTime<Utc>,
pub updated_at: DateTime<Utc>,
}Expand description
Admin CRUD view — full config minus the secret.
Fields§
§id: Uuid§kind: OAuthProviderKind§name: String§enabled: bool§client_id: String§secret_set: booltrue once a client_secret has been stored. The secret itself never
round-trips through any response.
scopes: Vec<String>§token_url: String§userinfo_url: String§email_field: String§created_at: DateTime<Utc>§updated_at: DateTime<Utc>Trait Implementations§
Source§impl Clone for OAuthProviderView
impl Clone for OAuthProviderView
Source§fn clone(&self) -> OAuthProviderView
fn clone(&self) -> OAuthProviderView
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 ComposeSchema for OAuthProviderView
impl ComposeSchema for OAuthProviderView
Source§impl Debug for OAuthProviderView
impl Debug for OAuthProviderView
Source§impl<'de> Deserialize<'de> for OAuthProviderView
impl<'de> Deserialize<'de> for OAuthProviderView
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
Source§impl Serialize for OAuthProviderView
impl Serialize for OAuthProviderView
Auto Trait Implementations§
impl Freeze for OAuthProviderView
impl RefUnwindSafe for OAuthProviderView
impl Send for OAuthProviderView
impl Sync for OAuthProviderView
impl Unpin for OAuthProviderView
impl UnsafeUnpin for OAuthProviderView
impl UnwindSafe for OAuthProviderView
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