pub enum Method {
Password,
Google,
}Expand description
The credential a user has stored. A user has exactly one, and can switch between them. Cloudflare Access is not a stored credential.
Variants§
Implementations§
Trait Implementations§
Source§impl Bind for Method
Available on crate feature sqll015 only.Binds as the statement’s only parameter, as BindValue does.
impl Bind for Method
Available on crate feature
sqll015 only.Binds as the statement’s only parameter, as BindValue does.
Source§impl BindValue for Method
Available on crate feature sqll015 only.Binds the sign-in method’s name, Method::as_str, as text.
impl BindValue for Method
Available on crate feature
sqll015 only.Binds the sign-in method’s name, Method::as_str, as text.
impl Copy for Method
Source§impl<'__de, __A> Decode<'__de, Binary, __A> for Methodwhere
__A: Allocator,
Available on crate feature musli02 only.
impl<'__de, __A> Decode<'__de, Binary, __A> for Methodwhere
__A: Allocator,
Available on crate feature
musli02 only.Source§const IS_BITWISE_DECODE: bool = false
const IS_BITWISE_DECODE: bool = false
Whether the type is packed. Packed types can be bitwise copied if the
representation of the serialization format is identical to the memory
layout of the type. Read more
Source§impl<'__de, __A> Decode<'__de, Text, __A> for Methodwhere
__A: Allocator,
Available on crate feature musli02 only.
impl<'__de, __A> Decode<'__de, Text, __A> for Methodwhere
__A: Allocator,
Available on crate feature
musli02 only.Source§const IS_BITWISE_DECODE: bool = false
const IS_BITWISE_DECODE: bool = false
Whether the type is packed. Packed types can be bitwise copied if the
representation of the serialization format is identical to the memory
layout of the type. Read more
Source§impl<'de> Deserialize<'de> for Method
impl<'de> Deserialize<'de> for Method
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 Encode<Binary> for Method
Available on crate feature musli02 only.
impl Encode<Binary> for Method
Available on crate feature
musli02 only.Source§const IS_BITWISE_ENCODE: bool = false
const IS_BITWISE_ENCODE: bool = false
Whether the type is packed. Packed types can be bitwise copied if the
representation of the serialization format is identical to the memory
layout of the type. Read more
Source§impl Encode<Text> for Method
Available on crate feature musli02 only.
impl Encode<Text> for Method
Available on crate feature
musli02 only.Source§const IS_BITWISE_ENCODE: bool = false
const IS_BITWISE_ENCODE: bool = false
Whether the type is packed. Packed types can be bitwise copied if the
representation of the serialization format is identical to the memory
layout of the type. Read more
impl Eq for Method
Source§impl<'stmt> FromColumn<'stmt> for Method
Available on crate feature sqll015 only.Reads a text column holding the sign-in method’s name, failing with
Code::MISMATCH on a name that is not one.
impl<'stmt> FromColumn<'stmt> for Method
Available on crate feature
sqll015 only.Reads a text column holding the sign-in method’s name, failing with
Code::MISMATCH on a name that is not one.
impl StructuralPartialEq for Method
Auto Trait Implementations§
impl Freeze for Method
impl RefUnwindSafe for Method
impl Send for Method
impl Sync for Method
impl Unpin for Method
impl UnsafeUnpin for Method
impl UnwindSafe for Method
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