pub struct VerifyOtpParams {
pub token: String,
pub otp_type: OtpType,
pub email: Option<String>,
pub phone: Option<String>,
pub token_hash: Option<String>,
}Expand description
Parameters for verifying an OTP token.
Matches the VerifyOtpParams union type in Supabase JS.
Fields§
§token: String§otp_type: OtpType§email: Option<String>§phone: Option<String>§token_hash: Option<String>Trait Implementations§
Source§impl Clone for VerifyOtpParams
impl Clone for VerifyOtpParams
Source§fn clone(&self) -> VerifyOtpParams
fn clone(&self) -> VerifyOtpParams
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 VerifyOtpParams
impl Debug for VerifyOtpParams
Auto Trait Implementations§
impl Freeze for VerifyOtpParams
impl RefUnwindSafe for VerifyOtpParams
impl Send for VerifyOtpParams
impl Sync for VerifyOtpParams
impl Unpin for VerifyOtpParams
impl UnsafeUnpin for VerifyOtpParams
impl UnwindSafe for VerifyOtpParams
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