pub struct RecoveryLink {
pub expires_at: Option<String>,
pub recovery_link: String,
}Fields§
§expires_at: Option<String>Recovery Link Expires At The timestamp when the recovery link expires.
recovery_link: StringRecovery Link This link can be used to recover the account.
Implementations§
Source§impl RecoveryLink
impl RecoveryLink
pub fn new(recovery_link: String) -> RecoveryLink
Trait Implementations§
Source§impl Clone for RecoveryLink
impl Clone for RecoveryLink
Source§fn clone(&self) -> RecoveryLink
fn clone(&self) -> RecoveryLink
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 RecoveryLink
impl Debug for RecoveryLink
Source§impl<'de> Deserialize<'de> for RecoveryLink
impl<'de> Deserialize<'de> for RecoveryLink
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 RecoveryLink
impl PartialEq for RecoveryLink
Source§impl Serialize for RecoveryLink
impl Serialize for RecoveryLink
impl StructuralPartialEq for RecoveryLink
Auto Trait Implementations§
impl Freeze for RecoveryLink
impl RefUnwindSafe for RecoveryLink
impl Send for RecoveryLink
impl Sync for RecoveryLink
impl Unpin for RecoveryLink
impl UnwindSafe for RecoveryLink
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