pub struct RecoveryFlow {
pub active: Option<String>,
pub expires_at: String,
pub id: String,
pub issued_at: String,
pub request_url: String,
pub state: String,
pub _type: Option<String>,
pub ui: Box<UiContainer>,
}Expand description
RecoveryFlow : This request is used when an identity wants to recover their account. We recommend reading the Account Recovery Documentation
Fields§
§active: Option<String>Active, if set, contains the registration method that is being used. It is initially not set.
expires_at: StringExpiresAt is the time (UTC) when the request expires. If the user still wishes to update the setting, a new request has to be initiated.
id: String§issued_at: StringIssuedAt is the time (UTC) when the request occurred.
request_url: StringRequestURL is the initial URL that was requested from Ory Kratos. It can be used to forward information contained in the URL’s path or query for example.
state: String§_type: Option<String>The flow type can either be api or browser.
ui: Box<UiContainer>Implementations§
Source§impl RecoveryFlow
impl RecoveryFlow
Sourcepub fn new(
expires_at: String,
id: String,
issued_at: String,
request_url: String,
state: String,
ui: UiContainer,
) -> RecoveryFlow
pub fn new( expires_at: String, id: String, issued_at: String, request_url: String, state: String, ui: UiContainer, ) -> RecoveryFlow
This request is used when an identity wants to recover their account. We recommend reading the Account Recovery Documentation
Trait Implementations§
Source§impl Clone for RecoveryFlow
impl Clone for RecoveryFlow
Source§fn clone(&self) -> RecoveryFlow
fn clone(&self) -> RecoveryFlow
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 RecoveryFlow
impl Debug for RecoveryFlow
Source§impl<'de> Deserialize<'de> for RecoveryFlow
impl<'de> Deserialize<'de> for RecoveryFlow
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 RecoveryFlow
impl PartialEq for RecoveryFlow
Source§impl Serialize for RecoveryFlow
impl Serialize for RecoveryFlow
impl StructuralPartialEq for RecoveryFlow
Auto Trait Implementations§
impl Freeze for RecoveryFlow
impl RefUnwindSafe for RecoveryFlow
impl Send for RecoveryFlow
impl Sync for RecoveryFlow
impl Unpin for RecoveryFlow
impl UnwindSafe for RecoveryFlow
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