pub struct RequestDataParams {
pub securityOrigin: Option<String>,
pub storageKey: Option<String>,
pub storageBucket: Option<StorageBucket>,
pub databaseName: String,
pub objectStoreName: String,
pub indexName: Option<String>,
pub skipCount: u64,
pub pageSize: u64,
pub keyRange: Option<KeyRange>,
}Expand description
Requests data from object store or index.
Fields§
§securityOrigin: Option<String>At least and at most one of securityOrigin, storageKey, or storageBucket must be specified. Security origin.
storageKey: Option<String>Storage key.
storageBucket: Option<StorageBucket>Storage bucket. If not specified, it uses the default bucket.
databaseName: StringDatabase name.
objectStoreName: StringObject store name.
indexName: Option<String>Index name. If not specified, it performs an object store data request.
skipCount: u64Number of records to skip.
pageSize: u64Number of records to fetch.
keyRange: Option<KeyRange>Key range.
Implementations§
Trait Implementations§
Source§impl CdpCommand for RequestDataParams
impl CdpCommand for RequestDataParams
Source§impl Clone for RequestDataParams
impl Clone for RequestDataParams
Source§fn clone(&self) -> RequestDataParams
fn clone(&self) -> RequestDataParams
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 RequestDataParams
impl Debug for RequestDataParams
Source§impl Default for RequestDataParams
impl Default for RequestDataParams
Source§fn default() -> RequestDataParams
fn default() -> RequestDataParams
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for RequestDataParams
impl<'de> Deserialize<'de> for RequestDataParams
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
Auto Trait Implementations§
impl Freeze for RequestDataParams
impl RefUnwindSafe for RequestDataParams
impl Send for RequestDataParams
impl Sync for RequestDataParams
impl Unpin for RequestDataParams
impl UnsafeUnpin for RequestDataParams
impl UnwindSafe for RequestDataParams
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