pub struct UpdateRegistrationFlowWithSamlMethod {
pub csrf_token: Option<String>,
pub method: String,
pub provider: String,
pub traits: Option<Value>,
pub transient_payload: Option<Value>,
}Expand description
UpdateRegistrationFlowWithSamlMethod : Update registration flow using SAML
Fields§
§csrf_token: Option<String>The CSRF Token
method: StringMethod to use This field must be set to saml when using the saml method.
provider: StringThe provider to register with
traits: Option<Value>The identity traits
transient_payload: Option<Value>Transient data to pass along to any webhooks
Implementations§
Source§impl UpdateRegistrationFlowWithSamlMethod
impl UpdateRegistrationFlowWithSamlMethod
Sourcepub fn new(
method: String,
provider: String,
) -> UpdateRegistrationFlowWithSamlMethod
pub fn new( method: String, provider: String, ) -> UpdateRegistrationFlowWithSamlMethod
Update registration flow using SAML
Trait Implementations§
Source§impl Clone for UpdateRegistrationFlowWithSamlMethod
impl Clone for UpdateRegistrationFlowWithSamlMethod
Source§fn clone(&self) -> UpdateRegistrationFlowWithSamlMethod
fn clone(&self) -> UpdateRegistrationFlowWithSamlMethod
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 UpdateRegistrationFlowWithSamlMethod
impl Default for UpdateRegistrationFlowWithSamlMethod
Source§fn default() -> UpdateRegistrationFlowWithSamlMethod
fn default() -> UpdateRegistrationFlowWithSamlMethod
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for UpdateRegistrationFlowWithSamlMethod
impl<'de> Deserialize<'de> for UpdateRegistrationFlowWithSamlMethod
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 UpdateRegistrationFlowWithSamlMethod
impl PartialEq for UpdateRegistrationFlowWithSamlMethod
Source§fn eq(&self, other: &UpdateRegistrationFlowWithSamlMethod) -> bool
fn eq(&self, other: &UpdateRegistrationFlowWithSamlMethod) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for UpdateRegistrationFlowWithSamlMethod
Auto Trait Implementations§
impl Freeze for UpdateRegistrationFlowWithSamlMethod
impl RefUnwindSafe for UpdateRegistrationFlowWithSamlMethod
impl Send for UpdateRegistrationFlowWithSamlMethod
impl Sync for UpdateRegistrationFlowWithSamlMethod
impl Unpin for UpdateRegistrationFlowWithSamlMethod
impl UnwindSafe for UpdateRegistrationFlowWithSamlMethod
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