Struct ory_client::models::update_settings_flow_with_lookup_method::UpdateSettingsFlowWithLookupMethod
source · pub struct UpdateSettingsFlowWithLookupMethod {
pub csrf_token: Option<String>,
pub lookup_secret_confirm: Option<bool>,
pub lookup_secret_disable: Option<bool>,
pub lookup_secret_regenerate: Option<bool>,
pub lookup_secret_reveal: Option<bool>,
pub method: String,
}Expand description
UpdateSettingsFlowWithLookupMethod : Update Settings Flow with Lookup Method
Fields§
§csrf_token: Option<String>CSRFToken is the anti-CSRF token
lookup_secret_confirm: Option<bool>If set to true will save the regenerated lookup secrets
lookup_secret_disable: Option<bool>Disables this method if true.
lookup_secret_regenerate: Option<bool>If set to true will regenerate the lookup secrets
lookup_secret_reveal: Option<bool>If set to true will reveal the lookup secrets
method: StringMethod Should be set to "lookup" when trying to add, update, or remove a lookup pairing.
Implementations§
source§impl UpdateSettingsFlowWithLookupMethod
impl UpdateSettingsFlowWithLookupMethod
sourcepub fn new(method: String) -> UpdateSettingsFlowWithLookupMethod
pub fn new(method: String) -> UpdateSettingsFlowWithLookupMethod
Update Settings Flow with Lookup Method
Trait Implementations§
source§impl Clone for UpdateSettingsFlowWithLookupMethod
impl Clone for UpdateSettingsFlowWithLookupMethod
source§fn clone(&self) -> UpdateSettingsFlowWithLookupMethod
fn clone(&self) -> UpdateSettingsFlowWithLookupMethod
Returns a copy 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<'de> Deserialize<'de> for UpdateSettingsFlowWithLookupMethod
impl<'de> Deserialize<'de> for UpdateSettingsFlowWithLookupMethod
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<UpdateSettingsFlowWithLookupMethod> for UpdateSettingsFlowWithLookupMethod
impl PartialEq<UpdateSettingsFlowWithLookupMethod> for UpdateSettingsFlowWithLookupMethod
source§fn eq(&self, other: &UpdateSettingsFlowWithLookupMethod) -> bool
fn eq(&self, other: &UpdateSettingsFlowWithLookupMethod) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for UpdateSettingsFlowWithLookupMethod
Auto Trait Implementations§
impl RefUnwindSafe for UpdateSettingsFlowWithLookupMethod
impl Send for UpdateSettingsFlowWithLookupMethod
impl Sync for UpdateSettingsFlowWithLookupMethod
impl Unpin for UpdateSettingsFlowWithLookupMethod
impl UnwindSafe for UpdateSettingsFlowWithLookupMethod
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