pub struct Args {Show 36 fields
pub url: String,
pub connection: Connection,
pub browser: BrowserChoice,
pub browser_bin: Option<PathBuf>,
pub render: RenderMode,
pub tab: String,
pub takeover: bool,
pub profile: Option<String>,
pub wait: String,
pub headers: Vec<String>,
pub cookies: Vec<String>,
pub user_agent: Option<String>,
pub evaluate_after_wait: Vec<String>,
pub want: Vec<String>,
pub method: String,
pub data: Option<String>,
pub form: Vec<String>,
pub network_bodies: NetworkBodies,
pub network_body_max_bytes: u64,
pub readiness_idle_ms: u64,
pub readiness_stable_ms: u64,
pub readiness_min_text_bytes: u64,
pub no_network_redact: bool,
pub out: Option<PathBuf>,
pub cookie_jar: Option<PathBuf>,
pub no_cookie_jar: bool,
pub observe_main_wait_ms: u64,
pub max_response_bytes: u64,
pub retry: u32,
pub backoff_ms: u64,
pub proxy: Option<String>,
pub ca_cert: Option<PathBuf>,
pub tls_insecure: bool,
pub timeout_ms: u64,
pub capture_ws: bool,
pub capture_sse: bool,
}Expand description
One fetch, already narrowed to a registered shape: data and form are
never both set, and takeover never coexists with RenderMode::None.
Fields§
§url: String§connection: Connection§browser: BrowserChoice§browser_bin: Option<PathBuf>§render: RenderMode§tab: String§takeover: bool§profile: Option<String>§wait: String§headers: Vec<String>§user_agent: Option<String>§evaluate_after_wait: Vec<String>§want: Vec<String>§method: String§data: Option<String>§form: Vec<String>§network_bodies: NetworkBodies§network_body_max_bytes: u64§readiness_idle_ms: u64§readiness_stable_ms: u64§readiness_min_text_bytes: u64§no_network_redact: bool§out: Option<PathBuf>§observe_main_wait_ms: u64§max_response_bytes: u64§retry: u32§backoff_ms: u64§proxy: Option<String>§ca_cert: Option<PathBuf>§tls_insecure: bool§timeout_ms: u64§capture_ws: bool§capture_sse: boolTrait Implementations§
Auto Trait Implementations§
impl Freeze for Args
impl RefUnwindSafe for Args
impl Send for Args
impl Sync for Args
impl Unpin for Args
impl UnsafeUnpin for Args
impl UnwindSafe for Args
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