Struct cdp::emulation::SetVisibleSizeResponse
[−]
[src]
pub struct SetVisibleSizeResponse;
Deprecated
[Experimental] Resizes the frame/viewport of the page. Note that this does not affect the frame's container (e.g. browser window). Can be used to produce screenshots of the specified size. Not supported on Android.
Command Emulation.setVisibleSize
Domain Module: cdp::emulation
Command Struct: cdp::emulation::SetVisibleSizeCommand
Response Struct: cdp::emulation::SetVisibleSizeResponse
Trait Implementations
impl Clone for SetVisibleSizeResponse
[src]
fn clone(&self) -> SetVisibleSizeResponse
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Debug for SetVisibleSizeResponse
[src]
impl PartialEq for SetVisibleSizeResponse
[src]
fn eq(&self, __arg_0: &SetVisibleSizeResponse) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
This method tests for !=
.
impl Serialize for SetVisibleSizeResponse
[src]
fn serialize<S>(&self, serializer: S) -> Result<S::Ok, S::Error> where
S: Serializer,
[src]
S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl<'de> Deserialize<'de> for SetVisibleSizeResponse
[src]
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error> where
D: Deserializer<'de>,
[src]
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl CdpCommand for SetVisibleSizeResponse
[src]
const COMMAND_NAME: &'static str
COMMAND_NAME: &'static str = "Emulation.setVisibleSize"