pub struct UpdateFedcmFlowBody {
pub csrf_token: String,
pub nonce: Option<String>,
pub token: String,
pub transient_payload: Option<Value>,
}Fields§
§csrf_token: StringCSRFToken is the anti-CSRF token.
nonce: Option<String>Nonce is the nonce that was used in the navigator.credentials.get call. If specified, it must match the nonce claim in the token.
token: StringToken contains the result of navigator.credentials.get.
transient_payload: Option<Value>Transient data to pass along to any webhooks.
Implementations§
Source§impl UpdateFedcmFlowBody
impl UpdateFedcmFlowBody
pub fn new(csrf_token: String, token: String) -> UpdateFedcmFlowBody
Trait Implementations§
Source§impl Clone for UpdateFedcmFlowBody
impl Clone for UpdateFedcmFlowBody
Source§fn clone(&self) -> UpdateFedcmFlowBody
fn clone(&self) -> UpdateFedcmFlowBody
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 Debug for UpdateFedcmFlowBody
impl Debug for UpdateFedcmFlowBody
Source§impl Default for UpdateFedcmFlowBody
impl Default for UpdateFedcmFlowBody
Source§fn default() -> UpdateFedcmFlowBody
fn default() -> UpdateFedcmFlowBody
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for UpdateFedcmFlowBody
impl<'de> Deserialize<'de> for UpdateFedcmFlowBody
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 UpdateFedcmFlowBody
impl PartialEq for UpdateFedcmFlowBody
Source§impl Serialize for UpdateFedcmFlowBody
impl Serialize for UpdateFedcmFlowBody
impl StructuralPartialEq for UpdateFedcmFlowBody
Auto Trait Implementations§
impl Freeze for UpdateFedcmFlowBody
impl RefUnwindSafe for UpdateFedcmFlowBody
impl Send for UpdateFedcmFlowBody
impl Sync for UpdateFedcmFlowBody
impl Unpin for UpdateFedcmFlowBody
impl UnwindSafe for UpdateFedcmFlowBody
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