pub struct CloudflareTurnstileTask {
pub website_url: String,
pub website_key: String,
pub proxy: Option<String>,
pub rq_data: Option<BTreeMap<String, Value>>,
pub extra: ExtraFields,
}Expand description
Cloudflare Turnstile task.
Fields§
§website_url: StringURL containing the Turnstile widget.
website_key: StringTurnstile site key.
proxy: Option<String>Optional worker proxy.
rq_data: Option<BTreeMap<String, Value>>Optional Turnstile metadata.
extra: ExtraFieldsAdditional worker parameters.
Implementations§
Source§impl CloudflareTurnstileTask
impl CloudflareTurnstileTask
pub fn serialize<__S>(
__self: &CloudflareTurnstileTask,
__serializer: __S,
) -> Result<__S::Ok, __S::Error>where
__S: Serializer,
Source§impl CloudflareTurnstileTask
impl CloudflareTurnstileTask
Sourcepub fn builder() -> CloudflareTurnstileTaskBuilder
pub fn builder() -> CloudflareTurnstileTaskBuilder
Create an instance of CloudflareTurnstileTask using the builder syntax
Trait Implementations§
Source§impl Clone for CloudflareTurnstileTask
impl Clone for CloudflareTurnstileTask
Source§impl Debug for CloudflareTurnstileTask
impl Debug for CloudflareTurnstileTask
Source§impl Default for CloudflareTurnstileTask
impl Default for CloudflareTurnstileTask
Auto Trait Implementations§
impl Freeze for CloudflareTurnstileTask
impl RefUnwindSafe for CloudflareTurnstileTask
impl Send for CloudflareTurnstileTask
impl Sync for CloudflareTurnstileTask
impl Unpin for CloudflareTurnstileTask
impl UnsafeUnpin for CloudflareTurnstileTask
impl UnwindSafe for CloudflareTurnstileTask
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