pub struct SpaceQuery {
pub limit: Option<i32>,
pub cursor: Option<String>,
pub include_global: Option<bool>,
}Expand description
Query for listing spaces.
Fields§
§limit: Option<i32>Maximum number of spaces in the result.
cursor: Option<String>Optional cursor for pagination.
include_global: Option<bool>Include global spaces.
Trait Implementations§
Source§impl Clone for SpaceQuery
impl Clone for SpaceQuery
Source§fn clone(&self) -> SpaceQuery
fn clone(&self) -> SpaceQuery
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 SpaceQuery
impl Debug for SpaceQuery
Source§impl Default for SpaceQuery
impl Default for SpaceQuery
Source§fn default() -> SpaceQuery
fn default() -> SpaceQuery
Returns the “default value” for a type. Read more
Source§impl From<LimitCursorQuery> for SpaceQuery
impl From<LimitCursorQuery> for SpaceQuery
Source§fn from(q: LimitCursorQuery) -> Self
fn from(q: LimitCursorQuery) -> Self
Converts to this type from the input type.
Source§impl IntoParams for SpaceQuery
impl IntoParams for SpaceQuery
Source§impl List<SpaceQuery, Space> for Resource<Space>
impl List<SpaceQuery, Space> for Resource<Space>
Source§fn list(
&self,
params: Option<TParams>,
) -> impl Future<Output = Result<ItemsVec<TResponse, Cursor>>> + CondSend
fn list( &self, params: Option<TParams>, ) -> impl Future<Output = Result<ItemsVec<TResponse, Cursor>>> + CondSend
Query a resource with optional query parameters. Read more
Source§fn list_all(
&self,
params: TParams,
) -> impl Future<Output = Result<Vec<TResponse>>> + CondSend
fn list_all( &self, params: TParams, ) -> impl Future<Output = Result<Vec<TResponse>>> + CondSend
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>> + CondSend
fn list_all_stream( &self, params: TParams, ) -> impl TryStream<Ok = TResponse, Error = Error, Item = Result<TResponse>> + CondSend
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 SpaceQuery
impl SetCursor for SpaceQuery
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 SpaceQuery
impl RefUnwindSafe for SpaceQuery
impl Send for SpaceQuery
impl Sync for SpaceQuery
impl Unpin for SpaceQuery
impl UnsafeUnpin for SpaceQuery
impl UnwindSafe for SpaceQuery
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