pub struct CloudflareTurnstileSolution {
pub token: String,
pub header: BTreeMap<String, String>,
pub extra: BTreeMap<String, Value>,
}Expand description
Cloudflare Turnstile solution.
Fields§
§token: StringToken submitted to the protected website.
header: BTreeMap<String, String>Request headers to replay together with the token.
extra: BTreeMap<String, Value>Additional worker fields.
Implementations§
Source§impl CloudflareTurnstileSolution
impl CloudflareTurnstileSolution
pub fn serialize<__S>(
__self: &CloudflareTurnstileSolution,
__serializer: __S,
) -> Result<__S::Ok, __S::Error>where
__S: Serializer,
Source§impl<'de> CloudflareTurnstileSolution
impl<'de> CloudflareTurnstileSolution
pub fn deserialize<__D>(
__deserializer: __D,
) -> Result<CloudflareTurnstileSolution, __D::Error>where
__D: Deserializer<'de>,
Trait Implementations§
Source§impl Clone for CloudflareTurnstileSolution
impl Clone for CloudflareTurnstileSolution
Source§impl Debug for CloudflareTurnstileSolution
impl Debug for CloudflareTurnstileSolution
Source§impl<'de> Deserialize<'de> for CloudflareTurnstileSolution
impl<'de> Deserialize<'de> for CloudflareTurnstileSolution
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
impl StructuralPartialEq for CloudflareTurnstileSolution
Auto Trait Implementations§
impl Freeze for CloudflareTurnstileSolution
impl RefUnwindSafe for CloudflareTurnstileSolution
impl Send for CloudflareTurnstileSolution
impl Sync for CloudflareTurnstileSolution
impl Unpin for CloudflareTurnstileSolution
impl UnsafeUnpin for CloudflareTurnstileSolution
impl UnwindSafe for CloudflareTurnstileSolution
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