pub struct SnapshotCommandLog {
pub method: SnapshotCommandLogMethod,
pub params: SnapshotCommandLogParams,
}Expand description
Replays the layer snapshot and returns canvas log. snapshotCommandLog
Fields§
§method: SnapshotCommandLogMethod§params: SnapshotCommandLogParamsImplementations§
Source§impl SnapshotCommandLog
impl SnapshotCommandLog
pub fn builder() -> SnapshotCommandLogBuilder
Source§impl SnapshotCommandLog
impl SnapshotCommandLog
pub const IDENTIFIER: &'static str = "LayerTree.snapshotCommandLog"
pub fn identifier(&self) -> &'static str
Trait Implementations§
Source§impl Clone for SnapshotCommandLog
impl Clone for SnapshotCommandLog
Source§fn clone(&self) -> SnapshotCommandLog
fn clone(&self) -> SnapshotCommandLog
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 SnapshotCommandLog
impl CommandResult for SnapshotCommandLog
type Result = SnapshotCommandLogResult
fn result_from_value(result: Value) -> Result<Self::Result>
Source§impl Debug for SnapshotCommandLog
impl Debug for SnapshotCommandLog
Source§impl<'de> Deserialize<'de> for SnapshotCommandLog
impl<'de> Deserialize<'de> for SnapshotCommandLog
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<SnapshotCommandLog> for BrowserProtocolCommands
impl From<SnapshotCommandLog> for BrowserProtocolCommands
Source§fn from(v: SnapshotCommandLog) -> Self
fn from(v: SnapshotCommandLog) -> Self
Converts to this type from the input type.
Source§impl From<SnapshotCommandLog> for Command
impl From<SnapshotCommandLog> for Command
Source§fn from(v: SnapshotCommandLog) -> Self
fn from(v: SnapshotCommandLog) -> Self
Converts to this type from the input type.
Source§impl From<SnapshotCommandLog> for LayerTreeCommands
impl From<SnapshotCommandLog> for LayerTreeCommands
Source§fn from(v: SnapshotCommandLog) -> Self
fn from(v: SnapshotCommandLog) -> Self
Converts to this type from the input type.
Source§impl PartialEq for SnapshotCommandLog
impl PartialEq for SnapshotCommandLog
Source§impl Serialize for SnapshotCommandLog
impl Serialize for SnapshotCommandLog
Source§impl TryFrom<BrowserProtocolCommands> for SnapshotCommandLog
impl TryFrom<BrowserProtocolCommands> for SnapshotCommandLog
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, <SnapshotCommandLog as TryFrom<BrowserProtocolCommands>>::Error>
fn try_from( e: BrowserProtocolCommands, ) -> Result<Self, <SnapshotCommandLog as TryFrom<BrowserProtocolCommands>>::Error>
Performs the conversion.
Source§impl TryFrom<Command> for SnapshotCommandLog
impl TryFrom<Command> for SnapshotCommandLog
Source§impl TryFrom<LayerTreeCommands> for SnapshotCommandLog
impl TryFrom<LayerTreeCommands> for SnapshotCommandLog
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, <SnapshotCommandLog as TryFrom<LayerTreeCommands>>::Error>
fn try_from( e: LayerTreeCommands, ) -> Result<Self, <SnapshotCommandLog as TryFrom<LayerTreeCommands>>::Error>
Performs the conversion.
impl StructuralPartialEq for SnapshotCommandLog
Auto Trait Implementations§
impl Freeze for SnapshotCommandLog
impl RefUnwindSafe for SnapshotCommandLog
impl Send for SnapshotCommandLog
impl Sync for SnapshotCommandLog
impl Unpin for SnapshotCommandLog
impl UnsafeUnpin for SnapshotCommandLog
impl UnwindSafe for SnapshotCommandLog
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