Struct cdp::browser::SetWindowBoundsCommand [] [src]

pub struct SetWindowBoundsCommand {
    pub window_id: WindowId,
    pub bounds: Bounds,
}

[Experimental] Set position and/or size of the browser window.

Command Browser.setWindowBounds

Domain Module: cdp::browser
Command Struct: cdp::browser::SetWindowBoundsCommand
Response Struct: cdp::browser::SetWindowBoundsResponse

Fields

Browser window id.

New window bounds. The 'minimized', 'maximized' and 'fullscreen' states cannot be combined with 'left', 'top', 'width' or 'height'. Leaves unspecified fields unchanged.

Trait Implementations

impl Clone for SetWindowBoundsCommand
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for SetWindowBoundsCommand
[src]

[src]

Formats the value using the given formatter.

impl PartialEq for SetWindowBoundsCommand
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

[src]

This method tests for !=.

impl CdpCommand for SetWindowBoundsCommand
[src]

COMMAND_NAME: &'static str = "Browser.setWindowBounds"

impl SerializeCdpCommand for SetWindowBoundsCommand
[src]

[src]

[src]

impl<'de> DeserializeCdpCommand<'de> for SetWindowBoundsCommand
[src]

[src]

impl<'b> HasCdpResponse<'b> for SetWindowBoundsCommand
[src]