pub struct ViewQuery {
pub limit: Option<i32>,
pub cursor: Option<String>,
pub space: Option<String>,
pub include_inherited_properties: Option<bool>,
pub all_versions: Option<bool>,
pub include_global: Option<bool>,
}Expand description
Query for listing views.
Fields§
§limit: Option<i32>Maximum number of views to return. Default 10, maximum 1000.
cursor: Option<String>Optional cursor for pagination.
space: Option<String>Filter on view space.
include_inherited_properties: Option<bool>Include properties inherited from views each view implements.
all_versions: Option<bool>Whether to include all versions of the view, or just the latest.
include_global: Option<bool>Whether to include global views.
Trait Implementations§
Source§impl IntoParams for ViewQuery
impl IntoParams for ViewQuery
Source§impl List<ViewQuery, ViewDefinition> for Resource<ViewDefinition>
impl List<ViewQuery, ViewDefinition> for Resource<ViewDefinition>
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
Auto Trait Implementations§
impl Freeze for ViewQuery
impl RefUnwindSafe for ViewQuery
impl Send for ViewQuery
impl Sync for ViewQuery
impl Unpin for ViewQuery
impl UnwindSafe for ViewQuery
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