Struct cdp::indexed_db::RequestDataCommand
[−]
[src]
pub struct RequestDataCommand<'a> {
pub security_origin: Cow<'a, str>,
pub database_name: Cow<'a, str>,
pub object_store_name: Cow<'a, str>,
pub index_name: Cow<'a, str>,
pub skip_count: i32,
pub page_size: i32,
pub key_range: Option<KeyRange<'a>>,
}[Experimental] Requests data from object store or index.
Command IndexedDB.requestData
Domain Module: cdp::indexed_db
Command Struct: cdp::indexed_db::RequestDataCommand
Response Struct: cdp::indexed_db::RequestDataResponse
Fields
security_origin: Cow<'a, str>
Security origin.
database_name: Cow<'a, str>
Database name.
object_store_name: Cow<'a, str>
Object store name.
index_name: Cow<'a, str>
Index name, empty string for object store data requests.
skip_count: i32
Number of records to skip.
page_size: i32
Number of records to fetch.
key_range: Option<KeyRange<'a>>
Key range.
Trait Implementations
impl<'a> Clone for RequestDataCommand<'a>[src]
fn clone(&self) -> RequestDataCommand<'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 RequestDataCommand<'a>[src]
impl<'a> PartialEq for RequestDataCommand<'a>[src]
fn eq(&self, __arg_0: &RequestDataCommand<'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: &RequestDataCommand<'a>) -> bool[src]
This method tests for !=.
impl<'a> CdpCommand for RequestDataCommand<'a>[src]
const COMMAND_NAME: &'static str
COMMAND_NAME: &'static str = "IndexedDB.requestData"
impl<'a> SerializeCdpCommand for RequestDataCommand<'a>[src]
fn command_name(&self) -> &str[src]
fn serialize_command_params<S>(&self, serializer: S) -> Result<S::Ok, S::Error> where
S: Serializer, [src]
S: Serializer,
impl<'de, 'a> DeserializeCdpCommand<'de> for RequestDataCommand<'a>[src]
fn deserialize_command<D>(
name: &str,
params: D
) -> Result<Result<Self, D::Error>, D> where
D: Deserializer<'de>, [src]
name: &str,
params: D
) -> Result<Result<Self, D::Error>, D> where
D: Deserializer<'de>,