pub struct Cloudflare5sTask {
pub website_url: String,
pub proxy: String,
pub rq_data: Option<BTreeMap<String, Value>>,
pub extra: ExtraFields,
}Expand description
Cloudflare five-second challenge task.
Fields§
§website_url: StringURL protected by the challenge.
proxy: StringProxy used by the challenge worker. Required for this type, unlike most others.
Format is protocol://username:password@host:port with protocol one of
http, https or socks5. Both credentials are required — the service
rejects an unauthenticated proxy — and the host may not be a private
address.
rq_data: Option<BTreeMap<String, Value>>Optional challenge request data.
extra: ExtraFieldsAdditional worker parameters.
Implementations§
Source§impl Cloudflare5sTask
impl Cloudflare5sTask
pub fn serialize<__S>(
__self: &Cloudflare5sTask,
__serializer: __S,
) -> Result<__S::Ok, __S::Error>where
__S: Serializer,
Source§impl Cloudflare5sTask
impl Cloudflare5sTask
Sourcepub fn builder() -> Cloudflare5sTaskBuilder
pub fn builder() -> Cloudflare5sTaskBuilder
Create an instance of Cloudflare5sTask using the builder syntax
Trait Implementations§
Source§impl Clone for Cloudflare5sTask
impl Clone for Cloudflare5sTask
Source§impl Debug for Cloudflare5sTask
impl Debug for Cloudflare5sTask
Source§impl Default for Cloudflare5sTask
impl Default for Cloudflare5sTask
Auto Trait Implementations§
impl Freeze for Cloudflare5sTask
impl RefUnwindSafe for Cloudflare5sTask
impl Send for Cloudflare5sTask
impl Sync for Cloudflare5sTask
impl Unpin for Cloudflare5sTask
impl UnsafeUnpin for Cloudflare5sTask
impl UnwindSafe for Cloudflare5sTask
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