pub struct SetContentsSize {
pub method: SetContentsSizeMethod,
pub params: SetContentsSizeParams,
}Expand description
Set size of the browser contents resizing browser window as necessary. setContentsSize
Fields§
§method: SetContentsSizeMethod§params: SetContentsSizeParamsImplementations§
Source§impl SetContentsSize
impl SetContentsSize
pub fn builder() -> SetContentsSizeBuilder
Source§impl SetContentsSize
impl SetContentsSize
pub const IDENTIFIER: &'static str = "Browser.setContentsSize"
pub fn identifier(&self) -> &'static str
Trait Implementations§
Source§impl Clone for SetContentsSize
impl Clone for SetContentsSize
Source§fn clone(&self) -> SetContentsSize
fn clone(&self) -> SetContentsSize
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 CommandResult for SetContentsSize
impl CommandResult for SetContentsSize
type Result = SetContentsSizeResult
fn result_from_value(result: Value) -> Result<Self::Result>
Source§impl Debug for SetContentsSize
impl Debug for SetContentsSize
Source§impl<'de> Deserialize<'de> for SetContentsSize
impl<'de> Deserialize<'de> for SetContentsSize
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 From<SetContentsSize> for BrowserCommands
impl From<SetContentsSize> for BrowserCommands
Source§fn from(v: SetContentsSize) -> Self
fn from(v: SetContentsSize) -> Self
Converts to this type from the input type.
Source§impl From<SetContentsSize> for BrowserProtocolCommands
impl From<SetContentsSize> for BrowserProtocolCommands
Source§fn from(v: SetContentsSize) -> Self
fn from(v: SetContentsSize) -> Self
Converts to this type from the input type.
Source§impl From<SetContentsSize> for Command
impl From<SetContentsSize> for Command
Source§fn from(v: SetContentsSize) -> Self
fn from(v: SetContentsSize) -> Self
Converts to this type from the input type.
Source§impl PartialEq for SetContentsSize
impl PartialEq for SetContentsSize
Source§impl Serialize for SetContentsSize
impl Serialize for SetContentsSize
Source§impl TryFrom<BrowserCommands> for SetContentsSize
impl TryFrom<BrowserCommands> for SetContentsSize
Source§type Error = BrowserCommands
type Error = BrowserCommands
The type returned in the event of a conversion error.
Source§fn try_from(
e: BrowserCommands,
) -> Result<Self, <SetContentsSize as TryFrom<BrowserCommands>>::Error>
fn try_from( e: BrowserCommands, ) -> Result<Self, <SetContentsSize as TryFrom<BrowserCommands>>::Error>
Performs the conversion.
Source§impl TryFrom<BrowserProtocolCommands> for SetContentsSize
impl TryFrom<BrowserProtocolCommands> for SetContentsSize
Source§type Error = BrowserProtocolCommands
type Error = BrowserProtocolCommands
The type returned in the event of a conversion error.
Source§fn try_from(
e: BrowserProtocolCommands,
) -> Result<Self, <SetContentsSize as TryFrom<BrowserProtocolCommands>>::Error>
fn try_from( e: BrowserProtocolCommands, ) -> Result<Self, <SetContentsSize as TryFrom<BrowserProtocolCommands>>::Error>
Performs the conversion.
Source§impl TryFrom<Command> for SetContentsSize
impl TryFrom<Command> for SetContentsSize
impl StructuralPartialEq for SetContentsSize
Auto Trait Implementations§
impl Freeze for SetContentsSize
impl RefUnwindSafe for SetContentsSize
impl Send for SetContentsSize
impl Sync for SetContentsSize
impl Unpin for SetContentsSize
impl UnsafeUnpin for SetContentsSize
impl UnwindSafe for SetContentsSize
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