pub struct UpdateRegistrationFlowWithProfileMethod {
pub csrf_token: Option<String>,
pub method: String,
pub screen: Option<ScreenEnum>,
pub traits: Value,
pub transient_payload: Option<Value>,
}Expand description
UpdateRegistrationFlowWithProfileMethod : Update Registration 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.
screen: Option<ScreenEnum>Screen requests navigation to a previous screen. This must be set to credential-selection to go back to the credential selection screen. credential-selection RegistrationScreenCredentialSelection nolint:gosec // not a credential previous RegistrationScreenPrevious
traits: ValueTraits The identity’s traits.
transient_payload: Option<Value>Transient data to pass along to any webhooks
Implementations§
Source§impl UpdateRegistrationFlowWithProfileMethod
impl UpdateRegistrationFlowWithProfileMethod
Sourcepub fn new(
method: String,
traits: Value,
) -> UpdateRegistrationFlowWithProfileMethod
pub fn new( method: String, traits: Value, ) -> UpdateRegistrationFlowWithProfileMethod
Update Registration Flow with Profile Method
Trait Implementations§
Source§impl Clone for UpdateRegistrationFlowWithProfileMethod
impl Clone for UpdateRegistrationFlowWithProfileMethod
Source§fn clone(&self) -> UpdateRegistrationFlowWithProfileMethod
fn clone(&self) -> UpdateRegistrationFlowWithProfileMethod
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 UpdateRegistrationFlowWithProfileMethod
impl Default for UpdateRegistrationFlowWithProfileMethod
Source§fn default() -> UpdateRegistrationFlowWithProfileMethod
fn default() -> UpdateRegistrationFlowWithProfileMethod
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for UpdateRegistrationFlowWithProfileMethod
impl<'de> Deserialize<'de> for UpdateRegistrationFlowWithProfileMethod
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 UpdateRegistrationFlowWithProfileMethod
impl PartialEq for UpdateRegistrationFlowWithProfileMethod
Source§fn eq(&self, other: &UpdateRegistrationFlowWithProfileMethod) -> bool
fn eq(&self, other: &UpdateRegistrationFlowWithProfileMethod) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for UpdateRegistrationFlowWithProfileMethod
Auto Trait Implementations§
impl Freeze for UpdateRegistrationFlowWithProfileMethod
impl RefUnwindSafe for UpdateRegistrationFlowWithProfileMethod
impl Send for UpdateRegistrationFlowWithProfileMethod
impl Sync for UpdateRegistrationFlowWithProfileMethod
impl Unpin for UpdateRegistrationFlowWithProfileMethod
impl UnwindSafe for UpdateRegistrationFlowWithProfileMethod
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