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