pub struct SubmitSelfServiceRegistrationFlow {
pub csrf_token: Option<String>,
pub method: String,
pub password: Option<String>,
pub traits: Option<Value>,
}Fields§
§csrf_token: Option<String>The CSRF Token
method: StringMethod to use This field must be set to password when using the password method.
password: Option<String>Password to sign the user up with
traits: Option<Value>The identity’s traits
Implementations§
Source§impl SubmitSelfServiceRegistrationFlow
impl SubmitSelfServiceRegistrationFlow
pub fn new(method: String) -> SubmitSelfServiceRegistrationFlow
Trait Implementations§
Source§impl Clone for SubmitSelfServiceRegistrationFlow
impl Clone for SubmitSelfServiceRegistrationFlow
Source§fn clone(&self) -> SubmitSelfServiceRegistrationFlow
fn clone(&self) -> SubmitSelfServiceRegistrationFlow
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<'de> Deserialize<'de> for SubmitSelfServiceRegistrationFlow
impl<'de> Deserialize<'de> for SubmitSelfServiceRegistrationFlow
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 SubmitSelfServiceRegistrationFlow
impl PartialEq for SubmitSelfServiceRegistrationFlow
Source§fn eq(&self, other: &SubmitSelfServiceRegistrationFlow) -> bool
fn eq(&self, other: &SubmitSelfServiceRegistrationFlow) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for SubmitSelfServiceRegistrationFlow
Auto Trait Implementations§
impl Freeze for SubmitSelfServiceRegistrationFlow
impl RefUnwindSafe for SubmitSelfServiceRegistrationFlow
impl Send for SubmitSelfServiceRegistrationFlow
impl Sync for SubmitSelfServiceRegistrationFlow
impl Unpin for SubmitSelfServiceRegistrationFlow
impl UnwindSafe for SubmitSelfServiceRegistrationFlow
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