pub struct AuthMethods {
pub google: Option<String>,
pub local: Option<String>,
pub oidc: Option<String>,
}Fields§
§google: Option<String>Google OIDC ID
local: Option<String>email address for built-in authentication
oidc: Option<String>Generic OIDC ID
Trait Implementations§
Source§impl Clone for AuthMethods
impl Clone for AuthMethods
Source§fn clone(&self) -> AuthMethods
fn clone(&self) -> AuthMethods
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 AuthMethods
impl Debug for AuthMethods
Source§impl<'de> Deserialize<'de> for AuthMethods
impl<'de> Deserialize<'de> for AuthMethods
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 AuthMethods
impl RefUnwindSafe for AuthMethods
impl Send for AuthMethods
impl Sync for AuthMethods
impl Unpin for AuthMethods
impl UnwindSafe for AuthMethods
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