pub struct GetBoxModel {
pub method: GetBoxModelMethod,
pub params: GetBoxModelParams,
}Expand description
Returns boxes for the given node. getBoxModel
Fields§
§method: GetBoxModelMethod§params: GetBoxModelParamsImplementations§
Source§impl GetBoxModel
impl GetBoxModel
pub fn builder() -> GetBoxModelBuilder
Source§impl GetBoxModel
impl GetBoxModel
pub const IDENTIFIER: &'static str = "DOM.getBoxModel"
pub fn identifier(&self) -> &'static str
Trait Implementations§
Source§impl Clone for GetBoxModel
impl Clone for GetBoxModel
Source§fn clone(&self) -> GetBoxModel
fn clone(&self) -> GetBoxModel
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 GetBoxModel
impl CommandResult for GetBoxModel
type Result = GetBoxModelResult
fn result_from_value(result: Value) -> Result<Self::Result>
Source§impl Debug for GetBoxModel
impl Debug for GetBoxModel
Source§impl<'de> Deserialize<'de> for GetBoxModel
impl<'de> Deserialize<'de> for GetBoxModel
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<GetBoxModel> for BrowserProtocolCommands
impl From<GetBoxModel> for BrowserProtocolCommands
Source§fn from(v: GetBoxModel) -> Self
fn from(v: GetBoxModel) -> Self
Converts to this type from the input type.
Source§impl From<GetBoxModel> for Command
impl From<GetBoxModel> for Command
Source§fn from(v: GetBoxModel) -> Self
fn from(v: GetBoxModel) -> Self
Converts to this type from the input type.
Source§impl From<GetBoxModel> for DomCommands
impl From<GetBoxModel> for DomCommands
Source§fn from(v: GetBoxModel) -> Self
fn from(v: GetBoxModel) -> Self
Converts to this type from the input type.
Source§impl PartialEq for GetBoxModel
impl PartialEq for GetBoxModel
Source§impl Serialize for GetBoxModel
impl Serialize for GetBoxModel
Source§impl TryFrom<BrowserProtocolCommands> for GetBoxModel
impl TryFrom<BrowserProtocolCommands> for GetBoxModel
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, <GetBoxModel as TryFrom<BrowserProtocolCommands>>::Error>
fn try_from( e: BrowserProtocolCommands, ) -> Result<Self, <GetBoxModel as TryFrom<BrowserProtocolCommands>>::Error>
Performs the conversion.
Source§impl TryFrom<Command> for GetBoxModel
impl TryFrom<Command> for GetBoxModel
Source§impl TryFrom<DomCommands> for GetBoxModel
impl TryFrom<DomCommands> for GetBoxModel
Source§type Error = DomCommands
type Error = DomCommands
The type returned in the event of a conversion error.
Source§fn try_from(
e: DomCommands,
) -> Result<Self, <GetBoxModel as TryFrom<DomCommands>>::Error>
fn try_from( e: DomCommands, ) -> Result<Self, <GetBoxModel as TryFrom<DomCommands>>::Error>
Performs the conversion.
impl StructuralPartialEq for GetBoxModel
Auto Trait Implementations§
impl Freeze for GetBoxModel
impl RefUnwindSafe for GetBoxModel
impl Send for GetBoxModel
impl Sync for GetBoxModel
impl Unpin for GetBoxModel
impl UnsafeUnpin for GetBoxModel
impl UnwindSafe for GetBoxModel
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