pub struct RegistrationFlow {
pub active: Option<String>,
pub expires_at: String,
pub id: String,
pub issued_at: String,
pub request_url: String,
pub _type: Option<String>,
pub ui: Box<UiContainer>,
}Fields§
§active: Option<String>and so on.
expires_at: StringExpiresAt is the time (UTC) when the flow expires. If the user still wishes to log in, a new flow has to be initiated.
id: String§issued_at: StringIssuedAt is the time (UTC) when the flow 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.
_type: Option<String>The flow type can either be api or browser.
ui: Box<UiContainer>Implementations§
Source§impl RegistrationFlow
impl RegistrationFlow
pub fn new( expires_at: String, id: String, issued_at: String, request_url: String, ui: UiContainer, ) -> RegistrationFlow
Trait Implementations§
Source§impl Clone for RegistrationFlow
impl Clone for RegistrationFlow
Source§fn clone(&self) -> RegistrationFlow
fn clone(&self) -> RegistrationFlow
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 RegistrationFlow
impl Debug for RegistrationFlow
Source§impl<'de> Deserialize<'de> for RegistrationFlow
impl<'de> Deserialize<'de> for RegistrationFlow
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 RegistrationFlow
impl PartialEq for RegistrationFlow
Source§impl Serialize for RegistrationFlow
impl Serialize for RegistrationFlow
impl StructuralPartialEq for RegistrationFlow
Auto Trait Implementations§
impl Freeze for RegistrationFlow
impl RefUnwindSafe for RegistrationFlow
impl Send for RegistrationFlow
impl Sync for RegistrationFlow
impl Unpin for RegistrationFlow
impl UnwindSafe for RegistrationFlow
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