Struct chromiumoxide::cdp::browser_protocol::target::GetTargetInfoParams
source · pub struct GetTargetInfoParams {
pub target_id: Option<TargetId>,
}Expand description
Returns information about a target. getTargetInfo
Fields§
§target_id: Option<TargetId>Implementations§
source§impl GetTargetInfoParams
impl GetTargetInfoParams
pub fn builder() -> GetTargetInfoParamsBuilder
source§impl GetTargetInfoParams
impl GetTargetInfoParams
pub const IDENTIFIER: &'static str = "Target.getTargetInfo"
Trait Implementations§
source§impl Clone for GetTargetInfoParams
impl Clone for GetTargetInfoParams
source§fn clone(&self) -> GetTargetInfoParams
fn clone(&self) -> GetTargetInfoParams
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 Command for GetTargetInfoParams
impl Command for GetTargetInfoParams
§type Response = GetTargetInfoReturns
type Response = GetTargetInfoReturns
The type of the response this request triggers on the chromium server
source§impl Debug for GetTargetInfoParams
impl Debug for GetTargetInfoParams
source§impl Default for GetTargetInfoParams
impl Default for GetTargetInfoParams
source§fn default() -> GetTargetInfoParams
fn default() -> GetTargetInfoParams
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for GetTargetInfoParams
impl<'de> Deserialize<'de> for GetTargetInfoParams
source§fn deserialize<__D>(
__deserializer: __D
) -> Result<GetTargetInfoParams, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>( __deserializer: __D ) -> Result<GetTargetInfoParams, <__D as Deserializer<'de>>::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Method for GetTargetInfoParams
impl Method for GetTargetInfoParams
source§fn identifier(&self) -> Cow<'static, str>
fn identifier(&self) -> Cow<'static, str>
The whole string identifier for this method like:
DOM.removeNodesource§fn domain_name(&self) -> Cow<'static, str>
fn domain_name(&self) -> Cow<'static, str>
The name of the domain this method belongs to:
DOMsource§fn method_name(&self) -> Cow<'static, str>
fn method_name(&self) -> Cow<'static, str>
The standalone identifier of the method inside the domain:
removeNodesource§impl MethodType for GetTargetInfoParams
impl MethodType for GetTargetInfoParams
source§impl PartialEq<GetTargetInfoParams> for GetTargetInfoParams
impl PartialEq<GetTargetInfoParams> for GetTargetInfoParams
source§fn eq(&self, other: &GetTargetInfoParams) -> bool
fn eq(&self, other: &GetTargetInfoParams) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for GetTargetInfoParams
impl Serialize for GetTargetInfoParams
source§fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>( &self, __serializer: __S ) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where __S: Serializer,
Serialize this value into the given Serde serializer. Read more