pub struct MakeSnapshot {
pub method: MakeSnapshotMethod,
pub params: MakeSnapshotParams,
}Expand description
Returns the layer snapshot identifier. makeSnapshot
Fields§
§method: MakeSnapshotMethod§params: MakeSnapshotParamsImplementations§
Source§impl MakeSnapshot
impl MakeSnapshot
pub fn builder() -> MakeSnapshotBuilder
Source§impl MakeSnapshot
impl MakeSnapshot
pub const IDENTIFIER: &'static str = "LayerTree.makeSnapshot"
pub fn identifier(&self) -> &'static str
Trait Implementations§
Source§impl Clone for MakeSnapshot
impl Clone for MakeSnapshot
Source§fn clone(&self) -> MakeSnapshot
fn clone(&self) -> MakeSnapshot
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 MakeSnapshot
impl CommandResult for MakeSnapshot
type Result = MakeSnapshotResult
fn result_from_value(result: Value) -> Result<Self::Result>
Source§impl Debug for MakeSnapshot
impl Debug for MakeSnapshot
Source§impl<'de> Deserialize<'de> for MakeSnapshot
impl<'de> Deserialize<'de> for MakeSnapshot
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<MakeSnapshot> for BrowserProtocolCommands
impl From<MakeSnapshot> for BrowserProtocolCommands
Source§fn from(v: MakeSnapshot) -> Self
fn from(v: MakeSnapshot) -> Self
Converts to this type from the input type.
Source§impl From<MakeSnapshot> for Command
impl From<MakeSnapshot> for Command
Source§fn from(v: MakeSnapshot) -> Self
fn from(v: MakeSnapshot) -> Self
Converts to this type from the input type.
Source§impl From<MakeSnapshot> for LayerTreeCommands
impl From<MakeSnapshot> for LayerTreeCommands
Source§fn from(v: MakeSnapshot) -> Self
fn from(v: MakeSnapshot) -> Self
Converts to this type from the input type.
Source§impl PartialEq for MakeSnapshot
impl PartialEq for MakeSnapshot
Source§impl Serialize for MakeSnapshot
impl Serialize for MakeSnapshot
Source§impl TryFrom<BrowserProtocolCommands> for MakeSnapshot
impl TryFrom<BrowserProtocolCommands> for MakeSnapshot
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, <MakeSnapshot as TryFrom<BrowserProtocolCommands>>::Error>
fn try_from( e: BrowserProtocolCommands, ) -> Result<Self, <MakeSnapshot as TryFrom<BrowserProtocolCommands>>::Error>
Performs the conversion.
Source§impl TryFrom<Command> for MakeSnapshot
impl TryFrom<Command> for MakeSnapshot
Source§impl TryFrom<LayerTreeCommands> for MakeSnapshot
impl TryFrom<LayerTreeCommands> for MakeSnapshot
Source§type Error = LayerTreeCommands
type Error = LayerTreeCommands
The type returned in the event of a conversion error.
Source§fn try_from(
e: LayerTreeCommands,
) -> Result<Self, <MakeSnapshot as TryFrom<LayerTreeCommands>>::Error>
fn try_from( e: LayerTreeCommands, ) -> Result<Self, <MakeSnapshot as TryFrom<LayerTreeCommands>>::Error>
Performs the conversion.
impl StructuralPartialEq for MakeSnapshot
Auto Trait Implementations§
impl Freeze for MakeSnapshot
impl RefUnwindSafe for MakeSnapshot
impl Send for MakeSnapshot
impl Sync for MakeSnapshot
impl Unpin for MakeSnapshot
impl UnsafeUnpin for MakeSnapshot
impl UnwindSafe for MakeSnapshot
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