pub enum PreviewRequest {
Show 29 variants
CookiePrepare {
id: String,
revision: String,
text: String,
},
CookieBrowser {
id: String,
revision: String,
endpoint: String,
},
CookieApply {
import_id: String,
domains: Vec<String>,
replace: bool,
},
CookieCancel {
import_id: String,
},
CaptureRendered {
html: String,
width: u32,
height: u32,
profile: String,
full: bool,
clip: Option<Value>,
},
Downloads,
FetchDownload {
profile: String,
id: String,
},
CancelTransfer {
profile: String,
id: String,
},
ForgetDownload {
profile: String,
id: String,
},
CancelDownload {
profile: String,
id: String,
},
PrepareDelivery {
text: String,
images: Vec<String>,
},
Info,
KillProfileProcess {
profile: String,
},
Kernel {
id: String,
},
List,
Create {
profile: String,
url: String,
owner: Option<String>,
},
Frame {
id: String,
since: Option<u64>,
quick: bool,
},
Action {
id: String,
action: Action,
},
Close {
id: String,
},
Reopen {
id: String,
},
Reconnect {
id: String,
},
DeleteProfile {
id: String,
},
SaveProfile {
profile: BrowserProfile,
},
OpenLink {
id: String,
href: String,
},
OpenDocumentExternal {
id: String,
href: String,
},
ResourceLink {
id: String,
href: String,
},
ReadDocument {
id: String,
},
SaveDocument {
id: String,
content: String,
revision: String,
},
CloseDocument {
id: String,
},
}Variants§
CookiePrepare
CookieBrowser
CookieApply
CookieCancel
CaptureRendered
Downloads
FetchDownload
CancelTransfer
ForgetDownload
CancelDownload
PrepareDelivery
Info
KillProfileProcess
Kernel
List
Create
Frame
Action
Close
Reopen
Reconnect
DeleteProfile
SaveProfile
Fields
§
profile: BrowserProfileOpenLink
OpenDocumentExternal
ResourceLink
ReadDocument
SaveDocument
CloseDocument
Trait Implementations§
Source§impl<'de> Deserialize<'de> for PreviewRequest
impl<'de> Deserialize<'de> for PreviewRequest
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 Forget for PreviewRequest
impl Freeze for PreviewRequestwhere
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
PhantomData<String>: Freeze,
PhantomData<Value>: Freeze,
*const LeafNode<String, Value> is !null: Freeze,
PhantomData<(Owned, LeafOrInternal)>: Freeze,
PhantomData<Box<(String, Value)>>: Freeze,
impl Move for PreviewRequest
impl RefUnwindSafe for PreviewRequest
impl Send for PreviewRequest
impl Sync for PreviewRequest
impl Unpin for PreviewRequest
impl UnsafeUnpin for PreviewRequestwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
PhantomData<Value>: UnsafeUnpin,
*const LeafNode<String, Value> is !null: UnsafeUnpin,
PhantomData<(Owned, LeafOrInternal)>: UnsafeUnpin,
PhantomData<Box<(String, Value)>>: UnsafeUnpin,
impl UnwindSafe for PreviewRequest
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<'de, D, R> CommandArg<'de, R> for Dwhere
D: Deserialize<'de>,
R: Runtime,
impl<'de, D, R> CommandArg<'de, R> for Dwhere
D: Deserialize<'de>,
R: Runtime,
Source§fn from_command(command: CommandItem<'de, R>) -> Result<D, InvokeError>
fn from_command(command: CommandItem<'de, R>) -> Result<D, InvokeError>
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
Source§fn into_any(self: Box<T>) -> Box<dyn Any>
fn into_any(self: Box<T>) -> Box<dyn Any>
Convert
Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can
then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.Source§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
Convert
Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be
further downcast into Rc<ConcreteType> where ConcreteType implements Trait.Source§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
Convert
&Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &Any’s vtable from &Trait’s.Source§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
Convert
&mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &mut Any’s vtable from &mut Trait’s.