pub struct TargetCreateTargetParams {
pub url: String,
pub new_window: Option<bool>,
}Expand description
Typed params for Target.createTarget.
Fields§
§url: StringThe target url.
new_window: Option<bool>Whether the browser should open a new window.
Trait Implementations§
Source§impl Clone for TargetCreateTargetParams
impl Clone for TargetCreateTargetParams
Source§fn clone(&self) -> TargetCreateTargetParams
fn clone(&self) -> TargetCreateTargetParams
Returns a duplicate 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 Command for TargetCreateTargetParams
impl Command for TargetCreateTargetParams
Source§type Params = TargetCreateTargetParams
type Params = TargetCreateTargetParams
Command parameters.
Source§type Output = TargetCreateTargetResult
type Output = TargetCreateTargetResult
Command result.
Source§impl Debug for TargetCreateTargetParams
impl Debug for TargetCreateTargetParams
Source§impl<'de> Deserialize<'de> for TargetCreateTargetParams
impl<'de> Deserialize<'de> for TargetCreateTargetParams
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
Source§impl PartialEq for TargetCreateTargetParams
impl PartialEq for TargetCreateTargetParams
Source§impl Serialize for TargetCreateTargetParams
impl Serialize for TargetCreateTargetParams
impl Eq for TargetCreateTargetParams
impl StructuralPartialEq for TargetCreateTargetParams
Auto Trait Implementations§
impl Freeze for TargetCreateTargetParams
impl RefUnwindSafe for TargetCreateTargetParams
impl Send for TargetCreateTargetParams
impl Sync for TargetCreateTargetParams
impl Unpin for TargetCreateTargetParams
impl UnsafeUnpin for TargetCreateTargetParams
impl UnwindSafe for TargetCreateTargetParams
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