pub struct ScreencastFrame {
pub method: ScreencastFrameMethod,
pub params: ScreencastFrameParams,
}Expand description
Compressed image data requested by the startScreencast.
screencastFrame
Fields§
§method: ScreencastFrameMethod§params: ScreencastFrameParamsImplementations§
Source§impl ScreencastFrame
impl ScreencastFrame
pub const IDENTIFIER: &'static str = "Page.screencastFrame"
pub fn identifier(&self) -> &'static str
Trait Implementations§
Source§impl Clone for ScreencastFrame
impl Clone for ScreencastFrame
Source§fn clone(&self) -> ScreencastFrame
fn clone(&self) -> ScreencastFrame
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 Debug for ScreencastFrame
impl Debug for ScreencastFrame
Source§impl<'de> Deserialize<'de> for ScreencastFrame
impl<'de> Deserialize<'de> for ScreencastFrame
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<ScreencastFrame> for BrowserProtocolEvents
impl From<ScreencastFrame> for BrowserProtocolEvents
Source§fn from(v: ScreencastFrame) -> Self
fn from(v: ScreencastFrame) -> Self
Converts to this type from the input type.
Source§impl From<ScreencastFrame> for Event
impl From<ScreencastFrame> for Event
Source§fn from(v: ScreencastFrame) -> Self
fn from(v: ScreencastFrame) -> Self
Converts to this type from the input type.
Source§impl From<ScreencastFrame> for PageEvents
impl From<ScreencastFrame> for PageEvents
Source§fn from(v: ScreencastFrame) -> Self
fn from(v: ScreencastFrame) -> Self
Converts to this type from the input type.
Source§impl PartialEq for ScreencastFrame
impl PartialEq for ScreencastFrame
Source§impl Serialize for ScreencastFrame
impl Serialize for ScreencastFrame
Source§impl TryFrom<BrowserProtocolEvents> for ScreencastFrame
impl TryFrom<BrowserProtocolEvents> for ScreencastFrame
Source§type Error = BrowserProtocolEvents
type Error = BrowserProtocolEvents
The type returned in the event of a conversion error.
Source§fn try_from(
e: BrowserProtocolEvents,
) -> Result<Self, <ScreencastFrame as TryFrom<BrowserProtocolEvents>>::Error>
fn try_from( e: BrowserProtocolEvents, ) -> Result<Self, <ScreencastFrame as TryFrom<BrowserProtocolEvents>>::Error>
Performs the conversion.
Source§impl TryFrom<Event> for ScreencastFrame
impl TryFrom<Event> for ScreencastFrame
Source§impl TryFrom<PageEvents> for ScreencastFrame
impl TryFrom<PageEvents> for ScreencastFrame
Source§type Error = PageEvents
type Error = PageEvents
The type returned in the event of a conversion error.
Source§fn try_from(
e: PageEvents,
) -> Result<Self, <ScreencastFrame as TryFrom<PageEvents>>::Error>
fn try_from( e: PageEvents, ) -> Result<Self, <ScreencastFrame as TryFrom<PageEvents>>::Error>
Performs the conversion.
impl StructuralPartialEq for ScreencastFrame
Auto Trait Implementations§
impl Freeze for ScreencastFrame
impl RefUnwindSafe for ScreencastFrame
impl Send for ScreencastFrame
impl Sync for ScreencastFrame
impl Unpin for ScreencastFrame
impl UnsafeUnpin for ScreencastFrame
impl UnwindSafe for ScreencastFrame
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