pub struct LoadSnapshot {
pub method: LoadSnapshotMethod,
pub params: LoadSnapshotParams,
}Expand description
Returns the snapshot identifier. loadSnapshot
Fields§
§method: LoadSnapshotMethod§params: LoadSnapshotParamsImplementations§
Source§impl LoadSnapshot
impl LoadSnapshot
pub fn builder() -> LoadSnapshotBuilder
Source§impl LoadSnapshot
impl LoadSnapshot
pub const IDENTIFIER: &'static str = "LayerTree.loadSnapshot"
pub fn identifier(&self) -> &'static str
Trait Implementations§
Source§impl Clone for LoadSnapshot
impl Clone for LoadSnapshot
Source§fn clone(&self) -> LoadSnapshot
fn clone(&self) -> LoadSnapshot
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 LoadSnapshot
impl CommandResult for LoadSnapshot
type Result = LoadSnapshotResult
fn result_from_value(result: Value) -> Result<Self::Result>
Source§impl Debug for LoadSnapshot
impl Debug for LoadSnapshot
Source§impl<'de> Deserialize<'de> for LoadSnapshot
impl<'de> Deserialize<'de> for LoadSnapshot
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<LoadSnapshot> for BrowserProtocolCommands
impl From<LoadSnapshot> for BrowserProtocolCommands
Source§fn from(v: LoadSnapshot) -> Self
fn from(v: LoadSnapshot) -> Self
Converts to this type from the input type.
Source§impl From<LoadSnapshot> for Command
impl From<LoadSnapshot> for Command
Source§fn from(v: LoadSnapshot) -> Self
fn from(v: LoadSnapshot) -> Self
Converts to this type from the input type.
Source§impl From<LoadSnapshot> for LayerTreeCommands
impl From<LoadSnapshot> for LayerTreeCommands
Source§fn from(v: LoadSnapshot) -> Self
fn from(v: LoadSnapshot) -> Self
Converts to this type from the input type.
Source§impl PartialEq for LoadSnapshot
impl PartialEq for LoadSnapshot
Source§impl Serialize for LoadSnapshot
impl Serialize for LoadSnapshot
Source§impl TryFrom<BrowserProtocolCommands> for LoadSnapshot
impl TryFrom<BrowserProtocolCommands> for LoadSnapshot
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, <LoadSnapshot as TryFrom<BrowserProtocolCommands>>::Error>
fn try_from( e: BrowserProtocolCommands, ) -> Result<Self, <LoadSnapshot as TryFrom<BrowserProtocolCommands>>::Error>
Performs the conversion.
Source§impl TryFrom<Command> for LoadSnapshot
impl TryFrom<Command> for LoadSnapshot
Source§impl TryFrom<LayerTreeCommands> for LoadSnapshot
impl TryFrom<LayerTreeCommands> for LoadSnapshot
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, <LoadSnapshot as TryFrom<LayerTreeCommands>>::Error>
fn try_from( e: LayerTreeCommands, ) -> Result<Self, <LoadSnapshot as TryFrom<LayerTreeCommands>>::Error>
Performs the conversion.
impl StructuralPartialEq for LoadSnapshot
Auto Trait Implementations§
impl Freeze for LoadSnapshot
impl RefUnwindSafe for LoadSnapshot
impl Send for LoadSnapshot
impl Sync for LoadSnapshot
impl Unpin for LoadSnapshot
impl UnsafeUnpin for LoadSnapshot
impl UnwindSafe for LoadSnapshot
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