[−][src]Struct vega_lite_3::Predicate
Fields
not: Option<Box<PurpleLogicalOperandPredicate>>
and: Option<Vec<LogicalOperandPredicateElement>>
or: Option<Vec<LogicalOperandPredicateElement>>
equal: Option<EqualUnion>
The value that the field should be equal to.
field: Option<String>
Field to be filtered.
time_unit: Option<TimeUnit>
Time unit for the field to be filtered.
range: Option<Vec<Option<RangeElement>>>
An array of inclusive minimum and maximum values for a field value of a data item to be included in the filtered data.
one_of: Option<Vec<SelectionInitIntervalElement>>
A set of values that the field
's value should be a member of,
for a data item included in the filtered data.
lt: Option<Lt>
The value that the field should be less than.
gt: Option<Lt>
The value that the field should be greater than.
lte: Option<Lt>
The value that the field should be less than or equals to.
gte: Option<Lt>
The value that the field should be greater than or equals to.
valid: Option<bool>
If set to true the field's value has to be valid, meaning both not null
and not
NaN
.
selection: Option<Box<PurpleSelectionOperand>>
Filter using a selection name.
Trait Implementations
impl Clone for Predicate
[src]
impl Debug for Predicate
[src]
impl Default for Predicate
[src]
impl<'de> Deserialize<'de> for Predicate
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl From<Predicate> for LogicalOperandPredicateElement
[src]
fn from(original: Predicate) -> LogicalOperandPredicateElement
[src]
impl From<Predicate> for PurpleLogicalOperandPredicate
[src]
fn from(original: Predicate) -> PurpleLogicalOperandPredicate
[src]
impl Serialize for Predicate
[src]
Auto Trait Implementations
impl RefUnwindSafe for Predicate
impl Send for Predicate
impl Sync for Predicate
impl Unpin for Predicate
impl UnwindSafe for Predicate
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
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> DeserializeOwned for T where
T: Deserialize<'de>,
[src]
T: Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut 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>,