pub struct CaptureScreenshot {
pub method: CaptureScreenshotMethod,
pub params: CaptureScreenshotParams,
}Fields§
§method: CaptureScreenshotMethod§params: CaptureScreenshotParamsImplementations§
Source§impl CaptureScreenshot
impl CaptureScreenshot
pub fn builder() -> CaptureScreenshotBuilder
Source§impl CaptureScreenshot
impl CaptureScreenshot
pub const IDENTIFIER: &'static str = "browsingContext.captureScreenshot"
pub const DOMAIN_DIRECTION: &'static str = "remote"
pub fn identifier(&self) -> &'static str
Trait Implementations§
Source§impl Clone for CaptureScreenshot
impl Clone for CaptureScreenshot
Source§fn clone(&self) -> CaptureScreenshot
fn clone(&self) -> CaptureScreenshot
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 CaptureScreenshot
impl CommandResult for CaptureScreenshot
type Result = CaptureScreenshotResult
fn result_from_value(result: Value) -> Result<Self::Result>
Source§impl Debug for CaptureScreenshot
impl Debug for CaptureScreenshot
Source§impl<'de> Deserialize<'de> for CaptureScreenshot
impl<'de> Deserialize<'de> for CaptureScreenshot
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<CaptureScreenshot> for BrowsingContextCommand
impl From<CaptureScreenshot> for BrowsingContextCommand
Source§fn from(v: CaptureScreenshot) -> Self
fn from(v: CaptureScreenshot) -> Self
Converts to this type from the input type.
Source§impl From<CaptureScreenshot> for Command
impl From<CaptureScreenshot> for Command
Source§fn from(v: CaptureScreenshot) -> Self
fn from(v: CaptureScreenshot) -> Self
Converts to this type from the input type.
Source§impl PartialEq for CaptureScreenshot
impl PartialEq for CaptureScreenshot
Source§impl Serialize for CaptureScreenshot
impl Serialize for CaptureScreenshot
Source§impl TryFrom<BrowsingContextCommand> for CaptureScreenshot
impl TryFrom<BrowsingContextCommand> for CaptureScreenshot
Source§type Error = BrowsingContextCommand
type Error = BrowsingContextCommand
The type returned in the event of a conversion error.
Source§fn try_from(
e: BrowsingContextCommand,
) -> Result<Self, <CaptureScreenshot as TryFrom<BrowsingContextCommand>>::Error>
fn try_from( e: BrowsingContextCommand, ) -> Result<Self, <CaptureScreenshot as TryFrom<BrowsingContextCommand>>::Error>
Performs the conversion.
Source§impl TryFrom<Command> for CaptureScreenshot
impl TryFrom<Command> for CaptureScreenshot
impl StructuralPartialEq for CaptureScreenshot
Auto Trait Implementations§
impl Freeze for CaptureScreenshot
impl RefUnwindSafe for CaptureScreenshot
impl Send for CaptureScreenshot
impl Sync for CaptureScreenshot
impl Unpin for CaptureScreenshot
impl UnsafeUnpin for CaptureScreenshot
impl UnwindSafe for CaptureScreenshot
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more