#[repr(transparent)]pub struct AuthProvider(pub i8);Tuple Fields§
§0: i8Implementations§
Source§impl AuthProvider
impl AuthProvider
pub const Auth0: Self
pub const Clerk: Self
pub const Supabase: Self
pub const Firebase: Self
pub const NextAuth: Self
pub const Custom: Self
pub const ENUM_MIN: i8 = 0
pub const ENUM_MAX: i8 = 5
pub const ENUM_VALUES: &'static [Self]
Sourcepub fn variant_name(self) -> Option<&'static str>
pub fn variant_name(self) -> Option<&'static str>
Returns the variant’s name or “” if unknown.
Trait Implementations§
Source§impl Clone for AuthProvider
impl Clone for AuthProvider
Source§fn clone(&self) -> AuthProvider
fn clone(&self) -> AuthProvider
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 AuthProvider
impl Debug for AuthProvider
Source§impl Default for AuthProvider
impl Default for AuthProvider
Source§fn default() -> AuthProvider
fn default() -> AuthProvider
Returns the “default value” for a type. Read more
Source§impl EndianScalar for AuthProvider
impl EndianScalar for AuthProvider
Source§impl<'a> Follow<'a> for AuthProvider
impl<'a> Follow<'a> for AuthProvider
Source§impl Hash for AuthProvider
impl Hash for AuthProvider
Source§impl Ord for AuthProvider
impl Ord for AuthProvider
Source§fn cmp(&self, other: &AuthProvider) -> Ordering
fn cmp(&self, other: &AuthProvider) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for AuthProvider
impl PartialEq for AuthProvider
Source§impl PartialOrd for AuthProvider
impl PartialOrd for AuthProvider
Source§impl Push for AuthProvider
impl Push for AuthProvider
Source§impl<'a> Verifiable for AuthProvider
impl<'a> Verifiable for AuthProvider
Source§fn run_verifier(
v: &mut Verifier<'_, '_>,
pos: usize,
) -> Result<(), InvalidFlatbuffer>
fn run_verifier( v: &mut Verifier<'_, '_>, pos: usize, ) -> Result<(), InvalidFlatbuffer>
Runs the verifier for this type, assuming its at position
pos in the verifier’s buffer.
Should not need to be called directly.impl Copy for AuthProvider
impl Eq for AuthProvider
impl SimpleToVerifyInSlice for AuthProvider
impl StructuralPartialEq for AuthProvider
Auto Trait Implementations§
impl Freeze for AuthProvider
impl RefUnwindSafe for AuthProvider
impl Send for AuthProvider
impl Sync for AuthProvider
impl Unpin for AuthProvider
impl UnsafeUnpin for AuthProvider
impl UnwindSafe for AuthProvider
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