pub struct ContainerQuery {
pub limit: Option<i32>,
pub cursor: Option<String>,
pub space: Option<String>,
pub include_global: Option<bool>,
}Expand description
Query for listing containers.
Fields§
§limit: Option<i32>Maximum number of containers in the result.
cursor: Option<String>Optional cursor for pagination.
space: Option<String>Filter on container space.
include_global: Option<bool>Include global containers.
Trait Implementations§
Source§impl Clone for ContainerQuery
impl Clone for ContainerQuery
Source§fn clone(&self) -> ContainerQuery
fn clone(&self) -> ContainerQuery
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 ContainerQuery
impl Debug for ContainerQuery
Source§impl Default for ContainerQuery
impl Default for ContainerQuery
Source§fn default() -> ContainerQuery
fn default() -> ContainerQuery
Returns the “default value” for a type. Read more
Source§impl IntoParams for ContainerQuery
impl IntoParams for ContainerQuery
Source§impl List<ContainerQuery, ContainerDefinition> for Resource<ContainerDefinition>
impl List<ContainerQuery, ContainerDefinition> for Resource<ContainerDefinition>
Source§fn list(
&self,
params: Option<TParams>,
) -> impl Future<Output = Result<ItemsVec<TResponse, Cursor>>> + Send
fn list( &self, params: Option<TParams>, ) -> impl Future<Output = Result<ItemsVec<TResponse, Cursor>>> + Send
Query a resource with optional query parameters. Read more
Source§fn list_all(
&self,
params: TParams,
) -> impl Future<Output = Result<Vec<TResponse>>> + Send
fn list_all( &self, params: TParams, ) -> impl Future<Output = Result<Vec<TResponse>>> + Send
Query a resource with query parameters, continuing until the cursor is exhausted. Read more
Source§fn list_all_stream(
&self,
params: TParams,
) -> impl TryStream<Ok = TResponse, Error = Error, Item = Result<TResponse>> + Send
fn list_all_stream( &self, params: TParams, ) -> impl TryStream<Ok = TResponse, Error = Error, Item = Result<TResponse>> + Send
List resources, following cursors. This returns a stream, you can abort the stream whenever you
want and only resources retrieved up to that point will be returned. Read more
Source§impl SetCursor for ContainerQuery
impl SetCursor for ContainerQuery
Source§fn set_cursor(&mut self, cursor: Option<String>)
fn set_cursor(&mut self, cursor: Option<String>)
Set cursor to the given value.
Auto Trait Implementations§
impl Freeze for ContainerQuery
impl RefUnwindSafe for ContainerQuery
impl Send for ContainerQuery
impl Sync for ContainerQuery
impl Unpin for ContainerQuery
impl UnwindSafe for ContainerQuery
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