pub struct CountSelection {
pub relationship: String,
pub output_key: String,
pub filter: Option<Value>,
}Expand description
A relationship whose related rows are counted, for each row of the level above it.
Fields§
§relationship: StringThe relationship’s name on the parent type.
output_key: StringThe key the count is written under.
filter: Option<Value>The client’s filter on the counted rows — the same filter an embed of the same relationship reads, so a list and its total cannot disagree (#1285).
Trait Implementations§
Source§impl Clone for CountSelection
impl Clone for CountSelection
Source§impl Debug for CountSelection
impl Debug for CountSelection
Source§impl Default for CountSelection
impl Default for CountSelection
impl Eq for CountSelection
Source§impl PartialEq for CountSelection
impl PartialEq for CountSelection
impl StructuralPartialEq for CountSelection
Auto Trait Implementations§
impl Freeze for CountSelection
impl RefUnwindSafe for CountSelection
impl Send for CountSelection
impl Sync for CountSelection
impl Unpin for CountSelection
impl UnsafeUnpin for CountSelection
impl UnwindSafe for CountSelection
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.