pub struct RequestInfoCommon {
pub request_id: RequestId,
pub context_id: ContextId,
pub event_name: String,
pub on_success: Arc<V8Value>,
pub on_error: Option<Arc<V8Value>>,
}Fields§
§request_id: RequestId§context_id: ContextId§event_name: String§on_success: Arc<V8Value>§on_error: Option<Arc<V8Value>>Trait Implementations§
Source§impl Clone for RequestInfoCommon
impl Clone for RequestInfoCommon
Source§fn clone(&self) -> RequestInfoCommon
fn clone(&self) -> RequestInfoCommon
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 RequestInfoCommon
impl Debug for RequestInfoCommon
Source§impl From<RequestInfoCommon> for QueryCommon
impl From<RequestInfoCommon> for QueryCommon
Source§fn from(common: RequestInfoCommon) -> Self
fn from(common: RequestInfoCommon) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for RequestInfoCommon
impl RefUnwindSafe for RequestInfoCommon
impl Send for RequestInfoCommon
impl Sync for RequestInfoCommon
impl Unpin for RequestInfoCommon
impl UnwindSafe for RequestInfoCommon
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