pub struct FilterRelationshipsQuery {
pub filter: RelationshipsFilter,
pub limit: Option<u32>,
pub cursor: Option<String>,
pub fetch_resources: Option<bool>,
pub partition: Option<Partition>,
}Expand description
Query for filtering relationships.
Fields§
§filter: RelationshipsFilterRelationship filter.
limit: Option<u32>Maximum number of relationships to return, default 100, maximum 1000.
cursor: Option<String>Cursor for pagination.
fetch_resources: Option<bool>Whether to fetch the associated resources.
partition: Option<Partition>Split the data set into partitions.
Trait Implementations§
Source§impl Clone for FilterRelationshipsQuery
impl Clone for FilterRelationshipsQuery
Source§fn clone(&self) -> FilterRelationshipsQuery
fn clone(&self) -> FilterRelationshipsQuery
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 Default for FilterRelationshipsQuery
impl Default for FilterRelationshipsQuery
Source§fn default() -> FilterRelationshipsQuery
fn default() -> FilterRelationshipsQuery
Returns the “default value” for a type. Read more
Source§impl FilterWithRequest<FilterRelationshipsQuery, Relationship> for RelationshipsResource
impl FilterWithRequest<FilterRelationshipsQuery, Relationship> for RelationshipsResource
Source§fn filter(
&self,
filter: TFilter,
) -> impl Future<Output = Result<ItemsVec<TResponse, Cursor>>> + Send
fn filter( &self, filter: TFilter, ) -> impl Future<Output = Result<ItemsVec<TResponse, Cursor>>> + Send
Filter resources. Read more
Source§fn filter_all(
&self,
filter: TFilter,
) -> impl Future<Output = Result<Vec<TResponse>>> + Send
fn filter_all( &self, filter: TFilter, ) -> impl Future<Output = Result<Vec<TResponse>>> + Send
Filter resources, following cursors until they are exhausted. Read more
Source§fn filter_all_stream(
&self,
filter: TFilter,
) -> impl TryStream<Ok = TResponse, Error = Error, Item = Result<TResponse>> + Send
fn filter_all_stream( &self, filter: TFilter, ) -> impl TryStream<Ok = TResponse, Error = Error, Item = Result<TResponse>> + Send
Filter 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§fn filter_all_partitioned(
&self,
filter: TFilter,
num_partitions: u32,
) -> impl Future<Output = Result<Vec<TResponse>>> + Send
fn filter_all_partitioned( &self, filter: TFilter, num_partitions: u32, ) -> impl Future<Output = Result<Vec<TResponse>>> + Send
Filter resources using partitioned reads, following cursors until all partitions are
exhausted. Read more
Source§impl Serialize for FilterRelationshipsQuery
impl Serialize for FilterRelationshipsQuery
Source§impl SetCursor for FilterRelationshipsQuery
impl SetCursor for FilterRelationshipsQuery
Source§fn set_cursor(&mut self, cursor: Option<String>)
fn set_cursor(&mut self, cursor: Option<String>)
Set cursor to the given value.
Source§impl WithPartition for FilterRelationshipsQuery
impl WithPartition for FilterRelationshipsQuery
Source§fn with_partition(&self, partition: Partition) -> Self
fn with_partition(&self, partition: Partition) -> Self
Create a clone of self with given partition.
Auto Trait Implementations§
impl Freeze for FilterRelationshipsQuery
impl RefUnwindSafe for FilterRelationshipsQuery
impl Send for FilterRelationshipsQuery
impl Sync for FilterRelationshipsQuery
impl Unpin for FilterRelationshipsQuery
impl UnwindSafe for FilterRelationshipsQuery
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