pub enum PromptUiResponse {
PermissionPrompt {
allow: bool,
},
DownloadPrompt {
allow: bool,
destination_path: Option<String>,
},
ExtensionInstallPrompt {
proceed: bool,
},
ExtensionUninstallPrompt {
proceed: bool,
report_abuse: bool,
},
PrintPreviewDialog {
proceed: bool,
},
Unknown,
}Expand description
Chrome-specific prompt UI response payload.
Variants§
PermissionPrompt
DownloadPrompt
ExtensionInstallPrompt
ExtensionUninstallPrompt
PrintPreviewDialog
Unknown
Trait Implementations§
Source§impl Clone for PromptUiResponse
impl Clone for PromptUiResponse
Source§fn clone(&self) -> PromptUiResponse
fn clone(&self) -> PromptUiResponse
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 PromptUiResponse
impl Debug for PromptUiResponse
Source§impl PartialEq for PromptUiResponse
impl PartialEq for PromptUiResponse
impl Eq for PromptUiResponse
impl StructuralPartialEq for PromptUiResponse
Auto Trait Implementations§
impl Freeze for PromptUiResponse
impl RefUnwindSafe for PromptUiResponse
impl Send for PromptUiResponse
impl Sync for PromptUiResponse
impl Unpin for PromptUiResponse
impl UnsafeUnpin for PromptUiResponse
impl UnwindSafe for PromptUiResponse
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