pub struct CountRequest(/* private fields */);Expand description
Parameters for the count command.
Implementations§
Source§impl CountRequest
impl CountRequest
Sourcepub fn buckets(collection: impl ToString) -> CountRequest
pub fn buckets(collection: impl ToString) -> CountRequest
Creates a new request to get the number of buckets in the collection.
Sourcepub fn objects(collection: impl ToString, bucket: impl ToString) -> CountRequest
pub fn objects(collection: impl ToString, bucket: impl ToString) -> CountRequest
Creates a new request to get the number of objects in the collection bucket.
Trait Implementations§
Source§impl Debug for CountRequest
impl Debug for CountRequest
Source§impl From<Dest> for CountRequest
impl From<Dest> for CountRequest
Auto Trait Implementations§
impl Freeze for CountRequest
impl RefUnwindSafe for CountRequest
impl Send for CountRequest
impl Sync for CountRequest
impl Unpin for CountRequest
impl UnwindSafe for CountRequest
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