Struct chromiumoxide::cdp::browser_protocol::layer_tree::LoadSnapshotParams
source · pub struct LoadSnapshotParams {
pub tiles: Vec<PictureTile>,
}
Expand description
Returns the snapshot identifier. loadSnapshot
Fields§
§tiles: Vec<PictureTile>
An array of tiles composing the snapshot.
Implementations§
source§impl LoadSnapshotParams
impl LoadSnapshotParams
pub fn new(tiles: Vec<PictureTile>) -> LoadSnapshotParams
source§impl LoadSnapshotParams
impl LoadSnapshotParams
pub fn builder() -> LoadSnapshotParamsBuilder
source§impl LoadSnapshotParams
impl LoadSnapshotParams
pub const IDENTIFIER: &'static str = "LayerTree.loadSnapshot"
Trait Implementations§
source§impl Clone for LoadSnapshotParams
impl Clone for LoadSnapshotParams
source§fn clone(&self) -> LoadSnapshotParams
fn clone(&self) -> LoadSnapshotParams
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 LoadSnapshotParams
impl Command for LoadSnapshotParams
§type Response = LoadSnapshotReturns
type Response = LoadSnapshotReturns
The type of the response this request triggers on the chromium server
source§impl Debug for LoadSnapshotParams
impl Debug for LoadSnapshotParams
source§impl<'de> Deserialize<'de> for LoadSnapshotParams
impl<'de> Deserialize<'de> for LoadSnapshotParams
source§fn deserialize<__D>(
__deserializer: __D
) -> Result<LoadSnapshotParams, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D
) -> Result<LoadSnapshotParams, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Method for LoadSnapshotParams
impl Method for LoadSnapshotParams
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 MethodType for LoadSnapshotParams
impl MethodType for LoadSnapshotParams
source§impl PartialEq for LoadSnapshotParams
impl PartialEq for LoadSnapshotParams
source§fn eq(&self, other: &LoadSnapshotParams) -> bool
fn eq(&self, other: &LoadSnapshotParams) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for LoadSnapshotParams
impl Serialize for LoadSnapshotParams
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 LoadSnapshotParams
Auto Trait Implementations§
impl RefUnwindSafe for LoadSnapshotParams
impl Send for LoadSnapshotParams
impl Sync for LoadSnapshotParams
impl Unpin for LoadSnapshotParams
impl UnwindSafe for LoadSnapshotParams
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