pub struct DataModelQuery {
pub cursor: Option<String>,
pub limit: Option<i32>,
pub inline_views: Option<bool>,
pub space: Option<String>,
pub all_versions: Option<bool>,
pub include_global: Option<bool>,
}Expand description
Query for listing data models.
Fields§
§cursor: Option<String>Optional cursor for pagination.
limit: Option<i32>Maximum number of data models to retrieve. Default is 10, maximum is 1000.
inline_views: Option<bool>Whether to expand the referenced views inline in the returned result.
space: Option<String>Filter by data model space.
all_versions: Option<bool>Whether to include all versions, or just the latest version.
include_global: Option<bool>Whether to include global data models.
Trait Implementations§
Source§impl Clone for DataModelQuery
impl Clone for DataModelQuery
Source§fn clone(&self) -> DataModelQuery
fn clone(&self) -> DataModelQuery
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 DataModelQuery
impl Debug for DataModelQuery
Source§impl Default for DataModelQuery
impl Default for DataModelQuery
Source§fn default() -> DataModelQuery
fn default() -> DataModelQuery
Returns the “default value” for a type. Read more
Source§impl IntoParams for DataModelQuery
impl IntoParams for DataModelQuery
Source§impl List<DataModelQuery, DataModel> for Resource<DataModel>
impl List<DataModelQuery, DataModel> for Resource<DataModel>
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 DataModelQuery
impl SetCursor for DataModelQuery
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 DataModelQuery
impl RefUnwindSafe for DataModelQuery
impl Send for DataModelQuery
impl Sync for DataModelQuery
impl Unpin for DataModelQuery
impl UnwindSafe for DataModelQuery
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