Struct ory_client::models::settings_flow::SettingsFlow
source · pub struct SettingsFlow {
pub active: Option<String>,
pub expires_at: String,
pub id: String,
pub identity: Box<Identity>,
pub issued_at: String,
pub request_url: String,
pub return_to: Option<String>,
pub state: SettingsFlowState,
pub _type: String,
pub ui: Box<UiContainer>,
}Expand description
SettingsFlow : This flow is used when an identity wants to update settings (e.g. profile data, passwords, …) in a selfservice manner. We recommend reading the User Settings 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 flow expires. If the user still wishes to update the setting, a new flow has to be initiated.
id: StringID represents the flow’s unique ID. When performing the settings flow, this represents the id in the settings ui’s query parameter: http://<selfservice.flows.settings.ui_url>?flow=
identity: Box<Identity>§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.
return_to: Option<String>ReturnTo contains the requested return_to URL.
state: SettingsFlowState§_type: StringThe flow type can either be api or browser.
ui: Box<UiContainer>Implementations§
source§impl SettingsFlow
impl SettingsFlow
sourcepub fn new(
expires_at: String,
id: String,
identity: Identity,
issued_at: String,
request_url: String,
state: SettingsFlowState,
_type: String,
ui: UiContainer
) -> SettingsFlow
pub fn new( expires_at: String, id: String, identity: Identity, issued_at: String, request_url: String, state: SettingsFlowState, _type: String, ui: UiContainer ) -> SettingsFlow
This flow is used when an identity wants to update settings (e.g. profile data, passwords, …) in a selfservice manner. We recommend reading the User Settings Documentation
Trait Implementations§
source§impl Clone for SettingsFlow
impl Clone for SettingsFlow
source§fn clone(&self) -> SettingsFlow
fn clone(&self) -> SettingsFlow
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for SettingsFlow
impl Debug for SettingsFlow
source§impl<'de> Deserialize<'de> for SettingsFlow
impl<'de> Deserialize<'de> for SettingsFlow
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>,
source§impl PartialEq<SettingsFlow> for SettingsFlow
impl PartialEq<SettingsFlow> for SettingsFlow
source§fn eq(&self, other: &SettingsFlow) -> bool
fn eq(&self, other: &SettingsFlow) -> bool
self and other values to be equal, and is used
by ==.