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<'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
impl StructuralPartialEq for UpdateRegistrationFlowWithProfileMethod
Auto Trait Implementations§
impl Forget for UpdateRegistrationFlowWithProfileMethod
impl Freeze for UpdateRegistrationFlowWithProfileMethod
impl RefUnwindSafe for UpdateRegistrationFlowWithProfileMethod
impl Send for UpdateRegistrationFlowWithProfileMethod
impl Sync for UpdateRegistrationFlowWithProfileMethod
impl Unpin for UpdateRegistrationFlowWithProfileMethod
impl UnsafeUnpin 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