pub struct RequestDataParams<'a> { /* private fields */ }Expand description
Requests data from object store or index.
Implementations§
Source§impl<'a> RequestDataParams<'a>
impl<'a> RequestDataParams<'a>
Sourcepub fn builder(
database_name: impl Into<Cow<'a, str>>,
object_store_name: impl Into<Cow<'a, str>>,
skip_count: u64,
page_size: u64,
) -> RequestDataParamsBuilder<'a>
pub fn builder( database_name: impl Into<Cow<'a, str>>, object_store_name: impl Into<Cow<'a, str>>, skip_count: u64, page_size: u64, ) -> RequestDataParamsBuilder<'a>
Creates a builder for this type with the required parameters:
database_name: Database name.object_store_name: Object store name.skip_count: Number of records to skip.page_size: Number of records to fetch.
Sourcepub fn security_origin(&self) -> Option<&str>
pub fn security_origin(&self) -> Option<&str>
At least and at most one of securityOrigin, storageKey, or storageBucket must be specified. Security origin.
Sourcepub fn storage_key(&self) -> Option<&str>
pub fn storage_key(&self) -> Option<&str>
Storage key.
Sourcepub fn storage_bucket(&self) -> Option<&StorageBucket<'a>>
pub fn storage_bucket(&self) -> Option<&StorageBucket<'a>>
Storage bucket. If not specified, it uses the default bucket.
Sourcepub fn database_name(&self) -> &str
pub fn database_name(&self) -> &str
Database name.
Sourcepub fn object_store_name(&self) -> &str
pub fn object_store_name(&self) -> &str
Object store name.
Sourcepub fn index_name(&self) -> Option<&str>
pub fn index_name(&self) -> Option<&str>
Index name. If not specified, it performs an object store data request.
Sourcepub fn skip_count(&self) -> u64
pub fn skip_count(&self) -> u64
Number of records to skip.
Trait Implementations§
Source§impl<'a> CdpCommand<'a> for RequestDataParams<'a>
impl<'a> CdpCommand<'a> for RequestDataParams<'a>
Source§impl<'a> Clone for RequestDataParams<'a>
impl<'a> Clone for RequestDataParams<'a>
Source§fn clone(&self) -> RequestDataParams<'a>
fn clone(&self) -> RequestDataParams<'a>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'a> Debug for RequestDataParams<'a>
impl<'a> Debug for RequestDataParams<'a>
Source§impl<'a> Default for RequestDataParams<'a>
impl<'a> Default for RequestDataParams<'a>
Source§fn default() -> RequestDataParams<'a>
fn default() -> RequestDataParams<'a>
Returns the “default value” for a type. Read more
Source§impl<'de, 'a> Deserialize<'de> for RequestDataParams<'a>
impl<'de, 'a> Deserialize<'de> for RequestDataParams<'a>
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<'a> Freeze for RequestDataParams<'a>
impl<'a> RefUnwindSafe for RequestDataParams<'a>
impl<'a> Send for RequestDataParams<'a>
impl<'a> Sync for RequestDataParams<'a>
impl<'a> Unpin for RequestDataParams<'a>
impl<'a> UnsafeUnpin for RequestDataParams<'a>
impl<'a> UnwindSafe for RequestDataParams<'a>
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