pub struct AwaitPromise {
pub promise_object_id: RemoteObjectId,
pub return_by_value: Option<bool>,
pub generate_preview: Option<bool>,
}Fields§
§promise_object_id: RemoteObjectId§return_by_value: Option<bool>§generate_preview: Option<bool>Trait Implementations§
Source§impl Clone for AwaitPromise
impl Clone for AwaitPromise
Source§fn clone(&self) -> AwaitPromise
fn clone(&self) -> AwaitPromise
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 AwaitPromise
impl Debug for AwaitPromise
Source§impl<'de> Deserialize<'de> for AwaitPromise
impl<'de> Deserialize<'de> for AwaitPromise
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 Method for AwaitPromise
impl Method for AwaitPromise
const NAME: &'static str = "Runtime.awaitPromise"
type ReturnObject = AwaitPromiseReturnObject
fn to_method_call(self, call_id: CallId) -> MethodCall<Self>where
Self: Sized,
Source§impl PartialEq for AwaitPromise
impl PartialEq for AwaitPromise
Source§impl Serialize for AwaitPromise
impl Serialize for AwaitPromise
impl StructuralPartialEq for AwaitPromise
Auto Trait Implementations§
impl Freeze for AwaitPromise
impl RefUnwindSafe for AwaitPromise
impl Send for AwaitPromise
impl Sync for AwaitPromise
impl Unpin for AwaitPromise
impl UnwindSafe for AwaitPromise
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