pub struct ReleaseSnapshot {
pub method: ReleaseSnapshotMethod,
pub params: ReleaseSnapshotParams,
}Expand description
Releases layer snapshot captured by the back-end. releaseSnapshot
Fields§
§method: ReleaseSnapshotMethod§params: ReleaseSnapshotParamsImplementations§
Source§impl ReleaseSnapshot
impl ReleaseSnapshot
pub fn builder() -> ReleaseSnapshotBuilder
Source§impl ReleaseSnapshot
impl ReleaseSnapshot
pub const IDENTIFIER: &'static str = "LayerTree.releaseSnapshot"
pub fn identifier(&self) -> &'static str
Trait Implementations§
Source§impl Clone for ReleaseSnapshot
impl Clone for ReleaseSnapshot
Source§fn clone(&self) -> ReleaseSnapshot
fn clone(&self) -> ReleaseSnapshot
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 ReleaseSnapshot
impl CommandResult for ReleaseSnapshot
type Result = ReleaseSnapshotResult
fn result_from_value(result: Value) -> Result<Self::Result>
Source§impl Debug for ReleaseSnapshot
impl Debug for ReleaseSnapshot
Source§impl<'de> Deserialize<'de> for ReleaseSnapshot
impl<'de> Deserialize<'de> for ReleaseSnapshot
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<ReleaseSnapshot> for BrowserProtocolCommands
impl From<ReleaseSnapshot> for BrowserProtocolCommands
Source§fn from(v: ReleaseSnapshot) -> Self
fn from(v: ReleaseSnapshot) -> Self
Converts to this type from the input type.
Source§impl From<ReleaseSnapshot> for Command
impl From<ReleaseSnapshot> for Command
Source§fn from(v: ReleaseSnapshot) -> Self
fn from(v: ReleaseSnapshot) -> Self
Converts to this type from the input type.
Source§impl From<ReleaseSnapshot> for LayerTreeCommands
impl From<ReleaseSnapshot> for LayerTreeCommands
Source§fn from(v: ReleaseSnapshot) -> Self
fn from(v: ReleaseSnapshot) -> Self
Converts to this type from the input type.
Source§impl PartialEq for ReleaseSnapshot
impl PartialEq for ReleaseSnapshot
Source§impl Serialize for ReleaseSnapshot
impl Serialize for ReleaseSnapshot
Source§impl TryFrom<BrowserProtocolCommands> for ReleaseSnapshot
impl TryFrom<BrowserProtocolCommands> for ReleaseSnapshot
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, <ReleaseSnapshot as TryFrom<BrowserProtocolCommands>>::Error>
fn try_from( e: BrowserProtocolCommands, ) -> Result<Self, <ReleaseSnapshot as TryFrom<BrowserProtocolCommands>>::Error>
Performs the conversion.
Source§impl TryFrom<Command> for ReleaseSnapshot
impl TryFrom<Command> for ReleaseSnapshot
Source§impl TryFrom<LayerTreeCommands> for ReleaseSnapshot
impl TryFrom<LayerTreeCommands> for ReleaseSnapshot
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, <ReleaseSnapshot as TryFrom<LayerTreeCommands>>::Error>
fn try_from( e: LayerTreeCommands, ) -> Result<Self, <ReleaseSnapshot as TryFrom<LayerTreeCommands>>::Error>
Performs the conversion.
impl StructuralPartialEq for ReleaseSnapshot
Auto Trait Implementations§
impl Freeze for ReleaseSnapshot
impl RefUnwindSafe for ReleaseSnapshot
impl Send for ReleaseSnapshot
impl Sync for ReleaseSnapshot
impl Unpin for ReleaseSnapshot
impl UnsafeUnpin for ReleaseSnapshot
impl UnwindSafe for ReleaseSnapshot
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