Struct headless_chrome::protocol::cdp::Browser::SetDownloadBehavior
source · pub struct SetDownloadBehavior {
pub behavior: SetDownloadBehaviorBehaviorOption,
pub browser_context_id: Option<BrowserContextID>,
pub download_path: Option<String>,
pub events_enabled: Option<bool>,
}Fields§
§behavior: SetDownloadBehaviorBehaviorOption§browser_context_id: Option<BrowserContextID>§download_path: Option<String>§events_enabled: Option<bool>Trait Implementations§
source§impl Clone for SetDownloadBehavior
impl Clone for SetDownloadBehavior
source§fn clone(&self) -> SetDownloadBehavior
fn clone(&self) -> SetDownloadBehavior
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for SetDownloadBehavior
impl Debug for SetDownloadBehavior
source§impl<'de> Deserialize<'de> for SetDownloadBehavior
impl<'de> Deserialize<'de> for SetDownloadBehavior
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