Struct chromiumoxide::cdp::browser_protocol::dom::GetContainerForNodeParams
source · pub struct GetContainerForNodeParams {
pub node_id: NodeId,
pub container_name: Option<String>,
}
Expand description
Returns the container of the given node based on container query conditions. If containerName is given, it will find the nearest container with a matching name; otherwise it will find the nearest container regardless of its container name. getContainerForNode
Fields§
§node_id: NodeId
§container_name: Option<String>
Implementations§
source§impl GetContainerForNodeParams
impl GetContainerForNodeParams
pub fn new(node_id: impl Into<NodeId>) -> GetContainerForNodeParams
source§impl GetContainerForNodeParams
impl GetContainerForNodeParams
pub const IDENTIFIER: &'static str = "DOM.getContainerForNode"
Trait Implementations§
source§impl Clone for GetContainerForNodeParams
impl Clone for GetContainerForNodeParams
source§fn clone(&self) -> GetContainerForNodeParams
fn clone(&self) -> GetContainerForNodeParams
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 GetContainerForNodeParams
impl Command for GetContainerForNodeParams
§type Response = GetContainerForNodeReturns
type Response = GetContainerForNodeReturns
The type of the response this request triggers on the chromium server
source§impl Debug for GetContainerForNodeParams
impl Debug for GetContainerForNodeParams
source§impl<'de> Deserialize<'de> for GetContainerForNodeParams
impl<'de> Deserialize<'de> for GetContainerForNodeParams
source§fn deserialize<__D>(
__deserializer: __D
) -> Result<GetContainerForNodeParams, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D
) -> Result<GetContainerForNodeParams, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Method for GetContainerForNodeParams
impl Method for GetContainerForNodeParams
source§fn identifier(&self) -> Cow<'static, str>
fn identifier(&self) -> Cow<'static, str>
The whole string identifier for this method like:
DOM.removeNode
source§fn domain_name(&self) -> Cow<'static, str>
fn domain_name(&self) -> Cow<'static, str>
The name of the domain this method belongs to:
DOM
source§fn method_name(&self) -> Cow<'static, str>
fn method_name(&self) -> Cow<'static, str>
The standalone identifier of the method inside the domain:
removeNode
source§impl PartialEq for GetContainerForNodeParams
impl PartialEq for GetContainerForNodeParams
source§fn eq(&self, other: &GetContainerForNodeParams) -> bool
fn eq(&self, other: &GetContainerForNodeParams) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for GetContainerForNodeParams
impl Serialize for GetContainerForNodeParams
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
impl StructuralPartialEq for GetContainerForNodeParams
Auto Trait Implementations§
impl Freeze for GetContainerForNodeParams
impl RefUnwindSafe for GetContainerForNodeParams
impl Send for GetContainerForNodeParams
impl Sync for GetContainerForNodeParams
impl Unpin for GetContainerForNodeParams
impl UnwindSafe for GetContainerForNodeParams
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