pub struct StorageListOptions {
pub offset: Option<i64>,
pub limit: Option<i64>,
pub desc: Option<bool>,
pub unnamed: Option<bool>,
pub ownership: Option<String>,
}Expand description
Options shared by the storage collection list endpoints (GET /v2/datasets,
/v2/key-value-stores, /v2/request-queues), which add unnamed and ownership
filters on top of the standard offset/limit pagination.
Fields§
§offset: Option<i64>Number of items to skip from the beginning of the list.
limit: Option<i64>Maximum number of items to return.
desc: Option<bool>If true, items are returned newest-first.
unnamed: Option<bool>If true, include unnamed storages in the result.
ownership: Option<String>Filter by ownership (e.g. OWNED / ACCESSIBLE).
Trait Implementations§
Source§impl Clone for StorageListOptions
impl Clone for StorageListOptions
Source§fn clone(&self) -> StorageListOptions
fn clone(&self) -> StorageListOptions
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 Debug for StorageListOptions
impl Debug for StorageListOptions
Source§impl Default for StorageListOptions
impl Default for StorageListOptions
Source§fn default() -> StorageListOptions
fn default() -> StorageListOptions
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for StorageListOptions
impl RefUnwindSafe for StorageListOptions
impl Send for StorageListOptions
impl Sync for StorageListOptions
impl Unpin for StorageListOptions
impl UnsafeUnpin for StorageListOptions
impl UnwindSafe for StorageListOptions
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