Struct chromiumoxide_cdp::cdp::js_protocol::runtime::AwaitPromiseParams [−][src]
pub struct AwaitPromiseParams { pub promise_object_id: RemoteObjectId, pub return_by_value: Option<bool>, pub generate_preview: Option<bool>, }
Expand description
Add handler to promise with given promise object id. awaitPromise
Fields
promise_object_id: RemoteObjectId
Identifier of the promise.
return_by_value: Option<bool>
Whether the result is expected to be a JSON object that should be sent by value.
generate_preview: Option<bool>
Whether preview should be generated for the result.
Implementations
Trait Implementations
type Response = AwaitPromiseReturns
type Response = AwaitPromiseReturns
The type of the response this request triggers on the chromium server
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
The whole string identifier for this method like: DOM.removeNode
The name of the domain this method belongs to: DOM
The standalone identifier of the method inside the domain: removeNode
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for AwaitPromiseParams
impl Send for AwaitPromiseParams
impl Sync for AwaitPromiseParams
impl Unpin for AwaitPromiseParams
impl UnwindSafe for AwaitPromiseParams
Blanket Implementations
Mutably borrows from an owned value. Read more