pub enum PrimitiveCommand {
Show 28 variants
Navigate(NavigateCommand),
DownloadUrl(DownloadUrlCommand),
Inspect(InspectCommand),
Click(ClickCommand),
TypeText(TypeTextCommand),
UploadFiles(UploadFilesCommand),
UploadAndConfirm(UploadAndConfirmCommand),
OpenPage(OpenPageCommand),
ListPages(ListPagesCommand),
ClosePage(ClosePageCommand),
ActivatePage(ActivatePageCommand),
AccessibilitySnapshot(AccessibilitySnapshotCommand),
ExtractStructured(ExtractStructuredCommand),
GetCookies(GetCookiesCommand),
PrintToPdf(PrintToPdfCommand),
HandleDialog(HandleDialogCommand),
Emulate(EmulateCommand),
NetworkLog(NetworkLogCommand),
SetCookies(SetCookiesCommand),
DeleteCookies(DeleteCookiesCommand),
ClickAndWaitForPopup(ClickAndWaitForPopupCommand),
ClickAndWaitForDownload(ClickAndWaitForDownloadCommand),
WaitFor(WaitForCommand),
CaptureScreenshot(CaptureScreenshotCommand),
ControlAction(ControlActionCommand),
SetFocusEmulation(SetFocusEmulationCommand),
SetEmulatedMedia(SetEmulatedMediaCommand),
EvaluateJavaScript(EvaluateJavaScriptCommand),
}Variants§
DownloadUrl(DownloadUrlCommand)
Inspect(InspectCommand)
Click(ClickCommand)
TypeText(TypeTextCommand)
UploadFiles(UploadFilesCommand)
UploadAndConfirm(UploadAndConfirmCommand)
OpenPage(OpenPageCommand)
ListPages(ListPagesCommand)
ClosePage(ClosePageCommand)
ActivatePage(ActivatePageCommand)
AccessibilitySnapshot(AccessibilitySnapshotCommand)
ExtractStructured(ExtractStructuredCommand)
GetCookies(GetCookiesCommand)
PrintToPdf(PrintToPdfCommand)
HandleDialog(HandleDialogCommand)
Emulate(EmulateCommand)
NetworkLog(NetworkLogCommand)
SetCookies(SetCookiesCommand)
DeleteCookies(DeleteCookiesCommand)
ClickAndWaitForPopup(ClickAndWaitForPopupCommand)
ClickAndWaitForDownload(ClickAndWaitForDownloadCommand)
WaitFor(WaitForCommand)
CaptureScreenshot(CaptureScreenshotCommand)
ControlAction(ControlActionCommand)
SetFocusEmulation(SetFocusEmulationCommand)
SetEmulatedMedia(SetEmulatedMediaCommand)
EvaluateJavaScript(EvaluateJavaScriptCommand)
Implementations§
Source§impl PrimitiveCommand
impl PrimitiveCommand
pub fn class(&self) -> CommandClass
Trait Implementations§
Source§impl Clone for PrimitiveCommand
impl Clone for PrimitiveCommand
Source§impl Debug for PrimitiveCommand
impl Debug for PrimitiveCommand
Source§impl<'de> Deserialize<'de> for PrimitiveCommand
impl<'de> Deserialize<'de> for PrimitiveCommand
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
Auto Trait Implementations§
impl Freeze for PrimitiveCommand
impl RefUnwindSafe for PrimitiveCommand
impl Send for PrimitiveCommand
impl Sync for PrimitiveCommand
impl Unpin for PrimitiveCommand
impl UnsafeUnpin for PrimitiveCommand
impl UnwindSafe for PrimitiveCommand
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