pub struct IncapsulaTask {
pub script: String,
pub script_url: String,
pub page_url: String,
pub accept_language: Option<String>,
pub ua: String,
pub proxy: Option<String>,
pub pow: Option<String>,
pub extra: ExtraFields,
}Expand description
Incapsula Reese84 task.
Fields§
§script: StringFull Reese84 sensor script source.
script_url: StringURL of the sensor script.
page_url: StringURL of the page executing the sensor script.
accept_language: Option<String>Accept-Language header used by the browser flow.
ua: StringBrowser user agent.
proxy: Option<String>Optional proxy used by the worker.
pow: Option<String>Proof-of-work data, required by sites that have PoW challenges enabled.
extra: ExtraFieldsAdditional worker parameters.
Implementations§
Source§impl IncapsulaTask
impl IncapsulaTask
pub fn serialize<__S>(
__self: &IncapsulaTask,
__serializer: __S,
) -> Result<__S::Ok, __S::Error>where
__S: Serializer,
Source§impl IncapsulaTask
impl IncapsulaTask
Sourcepub fn builder() -> IncapsulaTaskBuilder
pub fn builder() -> IncapsulaTaskBuilder
Create an instance of IncapsulaTask using the builder syntax
Trait Implementations§
Source§impl Clone for IncapsulaTask
impl Clone for IncapsulaTask
Source§impl Debug for IncapsulaTask
impl Debug for IncapsulaTask
Source§impl Default for IncapsulaTask
impl Default for IncapsulaTask
Auto Trait Implementations§
impl Freeze for IncapsulaTask
impl RefUnwindSafe for IncapsulaTask
impl Send for IncapsulaTask
impl Sync for IncapsulaTask
impl Unpin for IncapsulaTask
impl UnsafeUnpin for IncapsulaTask
impl UnwindSafe for IncapsulaTask
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