Struct headless_chrome::protocol::cdp::Target::CreateTarget
source · pub struct CreateTarget {
pub url: String,
pub width: Option<JsUInt>,
pub height: Option<JsUInt>,
pub browser_context_id: Option<BrowserContextID>,
pub enable_begin_frame_control: Option<bool>,
pub new_window: Option<bool>,
pub background: Option<bool>,
}Fields§
§url: String§width: Option<JsUInt>§height: Option<JsUInt>§browser_context_id: Option<BrowserContextID>§enable_begin_frame_control: Option<bool>§new_window: Option<bool>§background: Option<bool>Trait Implementations§
source§impl Clone for CreateTarget
impl Clone for CreateTarget
source§fn clone(&self) -> CreateTarget
fn clone(&self) -> CreateTarget
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 CreateTarget
impl Debug for CreateTarget
source§impl<'de> Deserialize<'de> for CreateTarget
impl<'de> Deserialize<'de> for CreateTarget
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