pub struct SelectorDef {
pub graphql_name: String,
pub column: String,
pub dim_type: DimType,
}Expand description
A named selector defines a filterable field on a Cube.
Each selector maps a GraphQL argument name to a column + type,
enabling eq, gt, in, any etc.
Fields§
§graphql_name: String§column: String§dim_type: DimTypeTrait Implementations§
Source§impl Clone for SelectorDef
impl Clone for SelectorDef
Source§fn clone(&self) -> SelectorDef
fn clone(&self) -> SelectorDef
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 moreAuto Trait Implementations§
impl Freeze for SelectorDef
impl RefUnwindSafe for SelectorDef
impl Send for SelectorDef
impl Sync for SelectorDef
impl Unpin for SelectorDef
impl UnsafeUnpin for SelectorDef
impl UnwindSafe for SelectorDef
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