pub struct UpdateSettingsFlowWithProfileMethod {
pub csrf_token: Option<String>,
pub method: String,
pub traits: Value,
pub transient_payload: Option<Value>,
}Expand description
UpdateSettingsFlowWithProfileMethod : Update Settings Flow with Profile Method
Fields§
§csrf_token: Option<String>The Anti-CSRF Token This token is only required when performing browser flows.
method: StringMethod Should be set to profile when trying to update a profile.
traits: ValueTraits The identity’s traits.
transient_payload: Option<Value>Transient data to pass along to any webhooks
Implementations§
Source§impl UpdateSettingsFlowWithProfileMethod
impl UpdateSettingsFlowWithProfileMethod
Sourcepub fn new(method: String, traits: Value) -> UpdateSettingsFlowWithProfileMethod
pub fn new(method: String, traits: Value) -> UpdateSettingsFlowWithProfileMethod
Update Settings Flow with Profile Method
Trait Implementations§
Source§impl Clone for UpdateSettingsFlowWithProfileMethod
impl Clone for UpdateSettingsFlowWithProfileMethod
Source§fn clone(&self) -> UpdateSettingsFlowWithProfileMethod
fn clone(&self) -> UpdateSettingsFlowWithProfileMethod
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 UpdateSettingsFlowWithProfileMethod
impl Default for UpdateSettingsFlowWithProfileMethod
Source§fn default() -> UpdateSettingsFlowWithProfileMethod
fn default() -> UpdateSettingsFlowWithProfileMethod
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for UpdateSettingsFlowWithProfileMethod
impl<'de> Deserialize<'de> for UpdateSettingsFlowWithProfileMethod
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 UpdateSettingsFlowWithProfileMethod
impl PartialEq for UpdateSettingsFlowWithProfileMethod
Source§fn eq(&self, other: &UpdateSettingsFlowWithProfileMethod) -> bool
fn eq(&self, other: &UpdateSettingsFlowWithProfileMethod) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for UpdateSettingsFlowWithProfileMethod
Auto Trait Implementations§
impl Freeze for UpdateSettingsFlowWithProfileMethod
impl RefUnwindSafe for UpdateSettingsFlowWithProfileMethod
impl Send for UpdateSettingsFlowWithProfileMethod
impl Sync for UpdateSettingsFlowWithProfileMethod
impl Unpin for UpdateSettingsFlowWithProfileMethod
impl UnwindSafe for UpdateSettingsFlowWithProfileMethod
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