pub enum ActionCodeOperation {
PasswordReset,
RecoverEmail,
EmailSignIn,
RevertSecondFactorAddition,
VerifyAndChangeEmail,
VerifyEmail,
}Variants§
Implementations§
Source§impl ActionCodeOperation
impl ActionCodeOperation
Sourcepub fn as_request_type(&self) -> &'static str
pub fn as_request_type(&self) -> &'static str
Returns the requestType string expected by the Identity Toolkit API.
Sourcepub fn from_request_type(value: &str) -> Option<Self>
pub fn from_request_type(value: &str) -> Option<Self>
Parses a requestType string returned by the REST API.
Trait Implementations§
Source§impl Clone for ActionCodeOperation
impl Clone for ActionCodeOperation
Source§fn clone(&self) -> ActionCodeOperation
fn clone(&self) -> ActionCodeOperation
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 ActionCodeOperation
impl Debug for ActionCodeOperation
Source§impl Default for ActionCodeOperation
impl Default for ActionCodeOperation
Source§fn default() -> ActionCodeOperation
fn default() -> ActionCodeOperation
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ActionCodeOperation
impl<'de> Deserialize<'de> for ActionCodeOperation
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 PartialEq for ActionCodeOperation
impl PartialEq for ActionCodeOperation
Source§impl Serialize for ActionCodeOperation
impl Serialize for ActionCodeOperation
impl Copy for ActionCodeOperation
impl Eq for ActionCodeOperation
impl StructuralPartialEq for ActionCodeOperation
Auto Trait Implementations§
impl Freeze for ActionCodeOperation
impl RefUnwindSafe for ActionCodeOperation
impl Send for ActionCodeOperation
impl Sync for ActionCodeOperation
impl Unpin for ActionCodeOperation
impl UnwindSafe for ActionCodeOperation
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.