Struct cdp::runtime::CallArgument
[−]
[src]
pub struct CallArgument<'a> {
pub value: Option<Value>,
pub unserializable_value: Option<UnserializableValue>,
pub object_id: Option<RemoteObjectId<'a>>,
}Represents function call argument. Either remote object id objectId, primitive value, unserializable primitive value or neither of (for undefined) them should be specified.
Fields
value: Option<Value>
Primitive value or serializable javascript object.
unserializable_value: Option<UnserializableValue>
Primitive value which can not be JSON-stringified.
object_id: Option<RemoteObjectId<'a>>
Remote object handle.
Trait Implementations
impl<'a> Clone for CallArgument<'a>[src]
fn clone(&self) -> CallArgument<'a>[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
Performs copy-assignment from source. Read more
impl<'a> Debug for CallArgument<'a>[src]
impl<'a> PartialEq for CallArgument<'a>[src]
fn eq(&self, __arg_0: &CallArgument<'a>) -> bool[src]
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, __arg_0: &CallArgument<'a>) -> bool[src]
This method tests for !=.