pub struct RequestDataParams {
pub security_origin: Option<String>,
pub storage_key: Option<String>,
pub storage_bucket: Option<StorageBucket>,
pub database_name: String,
pub object_store_name: String,
pub index_name: Option<String>,
pub skip_count: i64,
pub page_size: i64,
pub key_range: Option<KeyRange>,
}Expand description
Requests data from object store or index. requestData
Fields§
§security_origin: Option<String>At least and at most one of securityOrigin, storageKey, or storageBucket must be specified. Security origin.
storage_key: Option<String>Storage key.
storage_bucket: Option<StorageBucket>Storage bucket. If not specified, it uses the default bucket.
database_name: StringDatabase name.
object_store_name: StringObject store name.
index_name: Option<String>Index name. If not specified, it performs an object store data request.
skip_count: i64Number of records to skip.
page_size: i64Number of records to fetch.
key_range: Option<KeyRange>Key range.
Implementations§
Trait Implementations§
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<'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
Source§impl PartialEq for RequestDataParams
impl PartialEq for RequestDataParams
Source§impl Serialize for RequestDataParams
impl Serialize for RequestDataParams
impl StructuralPartialEq for RequestDataParams
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