pub struct TurnstileChallengeToken {
pub page_action: String,
pub user_agent: String,
pub data: String,
pub page_data: String,
pub proxy: Option<ProxyInfo>,
pub api_js_url: Option<String>,
}Expand description
Cloudflare Challenge solved to a token (cloudflareTaskType = "token").
The values are the parameters passed to window.turnstile.render(el, paramsObj).
Fields§
§page_action: StringThe action of the callback; usually managed or non-interactive.
user_agent: StringBrowser User-Agent (use a current Windows one).
data: StringThe cData parameter, e.g. 874291f4retD1366.
page_data: StringThe chlPageData parameter, e.g. HUHDWUHuhuwfiweh32..uh2uhuhyugYUG=.
proxy: Option<ProxyInfo>§api_js_url: Option<String>Link to the captcha script.
Implementations§
Trait Implementations§
Source§impl Clone for TurnstileChallengeToken
impl Clone for TurnstileChallengeToken
Source§impl Debug for TurnstileChallengeToken
impl Debug for TurnstileChallengeToken
impl Eq for TurnstileChallengeToken
Source§impl From<TurnstileChallengeToken> for TurnstileMode
impl From<TurnstileChallengeToken> for TurnstileMode
Source§fn from(v: TurnstileChallengeToken) -> Self
fn from(v: TurnstileChallengeToken) -> Self
Converts to this type from the input type.
Source§impl PartialEq for TurnstileChallengeToken
impl PartialEq for TurnstileChallengeToken
Source§impl Serialize for TurnstileChallengeToken
impl Serialize for TurnstileChallengeToken
impl StructuralPartialEq for TurnstileChallengeToken
Auto Trait Implementations§
impl Freeze for TurnstileChallengeToken
impl RefUnwindSafe for TurnstileChallengeToken
impl Send for TurnstileChallengeToken
impl Sync for TurnstileChallengeToken
impl Unpin for TurnstileChallengeToken
impl UnsafeUnpin for TurnstileChallengeToken
impl UnwindSafe for TurnstileChallengeToken
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