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