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,
pub transient_payload: Option<Value>,
}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.
transient_payload: Option<Value>Transient data to pass along to any webhooks
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 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 Default for UpdateSettingsFlowWithLookupMethod
impl Default for UpdateSettingsFlowWithLookupMethod
Source§fn default() -> UpdateSettingsFlowWithLookupMethod
fn default() -> UpdateSettingsFlowWithLookupMethod
Returns the “default value” for a type. Read more
Source§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 for UpdateSettingsFlowWithLookupMethod
impl PartialEq for UpdateSettingsFlowWithLookupMethod
Source§fn eq(&self, other: &UpdateSettingsFlowWithLookupMethod) -> bool
fn eq(&self, other: &UpdateSettingsFlowWithLookupMethod) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for UpdateSettingsFlowWithLookupMethod
Auto Trait Implementations§
impl Freeze for UpdateSettingsFlowWithLookupMethod
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