pub struct ConsentChallengeResponseRequest {
pub component: Option<String>,
pub token: String,
}
Expand description
ConsentChallengeResponseRequest : Consent challenge response, any valid response request is valid
Fields§
§component: Option<String>
§token: String
Implementations§
Source§impl ConsentChallengeResponseRequest
impl ConsentChallengeResponseRequest
Sourcepub fn new(token: String) -> ConsentChallengeResponseRequest
pub fn new(token: String) -> ConsentChallengeResponseRequest
Consent challenge response, any valid response request is valid
Trait Implementations§
Source§impl Clone for ConsentChallengeResponseRequest
impl Clone for ConsentChallengeResponseRequest
Source§fn clone(&self) -> ConsentChallengeResponseRequest
fn clone(&self) -> ConsentChallengeResponseRequest
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 ConsentChallengeResponseRequest
impl Default for ConsentChallengeResponseRequest
Source§fn default() -> ConsentChallengeResponseRequest
fn default() -> ConsentChallengeResponseRequest
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ConsentChallengeResponseRequest
impl<'de> Deserialize<'de> for ConsentChallengeResponseRequest
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 ConsentChallengeResponseRequest
impl PartialEq for ConsentChallengeResponseRequest
Source§fn eq(&self, other: &ConsentChallengeResponseRequest) -> bool
fn eq(&self, other: &ConsentChallengeResponseRequest) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for ConsentChallengeResponseRequest
Auto Trait Implementations§
impl Freeze for ConsentChallengeResponseRequest
impl RefUnwindSafe for ConsentChallengeResponseRequest
impl Send for ConsentChallengeResponseRequest
impl Sync for ConsentChallengeResponseRequest
impl Unpin for ConsentChallengeResponseRequest
impl UnwindSafe for ConsentChallengeResponseRequest
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