Struct chromiumoxide_types::MethodCall
source · pub struct MethodCall {
pub id: CallId,
pub method: MethodId,
pub session_id: Option<String>,
pub params: Value,
}
Expand description
A Request sent by the client, identified by the id
Fields§
§id: CallId
Identifier for this method call
MethodCall
id’s must be unique for every session
method: MethodId
The method identifier
session_id: Option<String>
The CDP session id of any
params: Value
The payload of the request
Trait Implementations§
source§impl Debug for MethodCall
impl Debug for MethodCall
source§impl PartialEq for MethodCall
impl PartialEq for MethodCall
source§fn eq(&self, other: &MethodCall) -> bool
fn eq(&self, other: &MethodCall) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for MethodCall
impl Serialize for MethodCall
impl Eq for MethodCall
impl StructuralEq for MethodCall
impl StructuralPartialEq for MethodCall
Auto Trait Implementations§
impl RefUnwindSafe for MethodCall
impl Send for MethodCall
impl Sync for MethodCall
impl Unpin for MethodCall
impl UnwindSafe for MethodCall
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