[−][src]Struct rabbithole::query::Query
Fields
include: Option<IncludeQuery>
When include is:
None
: all included fields will be addedSome(<empty-query>)
: no included field will be addedSome(<some-query>)
:- No query matches the existing fields: like branch 2
- Otherwise: all matched fields will be added
fields: FieldsQuery
If ty
is marked in fields
map:
- If
fields[<ty>]
is not empty: all resources of this type will remove theattributes
andrelationships
which are not infields[<ty>]
- If
fields[<ty>]
is empty: all the fields of the resources with this type will be removed Else: retain all fields
sort: SortQuery
When sort is:
- empty: no sorting at all, clients should not expect the order of the result
- some values, but none of the values matches: like branch 1
- some values, and some of the items matches: sorting result with the order of the matched sort-query item
page: Option<PageQuery>
filter: Option<FilterQuery>
Methods
impl Query
[src]
Trait Implementations
Auto Trait Implementations
impl Send for Query
impl Sync for Query
impl Unpin for Query
impl UnwindSafe for Query
impl RefUnwindSafe for Query
Blanket Implementations
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,