pub struct DataDomeSolution {
pub kind: Option<String>,
pub url: Option<String>,
pub body: Option<String>,
pub extra: BTreeMap<String, Value>,
}Expand description
DataDome solution, returned by both challenge steps.
Step 1 carries the challenge URL in url; step 2 carries the validation
instructions. Earlier workers returned step 1 as a bare string — it is an
object now, so both steps decode into this one type.
Shared by DataDomeTaskProxyless and DataDomeTagsTaskProxyless.
Fields§
§kind: Option<String>Challenge kind, such as slider or interstitial.
url: Option<String>Challenge URL on step 1, validation endpoint on step 2.
body: Option<String>Optional validation request body.
extra: BTreeMap<String, Value>Additional worker fields.
Implementations§
Source§impl DataDomeSolution
impl DataDomeSolution
pub fn serialize<__S>(
__self: &DataDomeSolution,
__serializer: __S,
) -> Result<__S::Ok, __S::Error>where
__S: Serializer,
Source§impl<'de> DataDomeSolution
impl<'de> DataDomeSolution
pub fn deserialize<__D>(
__deserializer: __D,
) -> Result<DataDomeSolution, __D::Error>where
__D: Deserializer<'de>,
Trait Implementations§
Source§impl Clone for DataDomeSolution
impl Clone for DataDomeSolution
Source§impl Debug for DataDomeSolution
impl Debug for DataDomeSolution
Source§impl<'de> Deserialize<'de> for DataDomeSolution
impl<'de> Deserialize<'de> for DataDomeSolution
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 DataDomeSolution
impl PartialEq for DataDomeSolution
Source§impl Serialize for DataDomeSolution
impl Serialize for DataDomeSolution
impl StructuralPartialEq for DataDomeSolution
Auto Trait Implementations§
impl Freeze for DataDomeSolution
impl RefUnwindSafe for DataDomeSolution
impl Send for DataDomeSolution
impl Sync for DataDomeSolution
impl Unpin for DataDomeSolution
impl UnsafeUnpin for DataDomeSolution
impl UnwindSafe for DataDomeSolution
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