pub type ScalarFieldRef = ScalarField;

Aliased Type§

struct ScalarFieldRef {
    pub id: ScalarFieldId,
    pub dm: InternalDataModel,
}

Fields§

§id: ScalarFieldId§dm: InternalDataModel

Trait Implementations§

source§

impl From<(InternalDataModel, IndexFieldWalker<'_>)> for ScalarFieldRef

source§

fn from((dm, f): (InternalDataModel, IndexFieldWalker<'_>)) -> Self

Converts to this type from the input type.
source§

impl JsonCompare for ScalarFieldRef

source§

fn json_contains<T>( &self, value: T, path: Option<JsonFilterPath>, target_type: JsonTargetType ) -> Filterwhere T: Into<ConditionValue>,

source§

fn json_not_contains<T>( &self, value: T, path: Option<JsonFilterPath>, target_type: JsonTargetType ) -> Filterwhere T: Into<ConditionValue>,

source§

fn json_starts_with<T>( &self, value: T, path: Option<JsonFilterPath>, target_type: JsonTargetType ) -> Filterwhere T: Into<ConditionValue>,

source§

fn json_not_starts_with<T>( &self, value: T, path: Option<JsonFilterPath>, target_type: JsonTargetType ) -> Filterwhere T: Into<ConditionValue>,

source§

fn json_ends_with<T>( &self, value: T, path: Option<JsonFilterPath>, target_type: JsonTargetType ) -> Filterwhere T: Into<ConditionValue>,

source§

fn json_not_ends_with<T>( &self, value: T, path: Option<JsonFilterPath>, target_type: JsonTargetType ) -> Filterwhere T: Into<ConditionValue>,

source§

fn json_equals<T>(&self, value: T, path: Option<JsonFilterPath>) -> Filterwhere T: Into<ConditionValue>,

source§

fn json_not_equals<T>(&self, value: T, path: Option<JsonFilterPath>) -> Filterwhere T: Into<ConditionValue>,

source§

fn json_less_than<T>(&self, value: T, path: Option<JsonFilterPath>) -> Filterwhere T: Into<ConditionValue>,

source§

fn json_less_than_or_equals<T>( &self, value: T, path: Option<JsonFilterPath> ) -> Filterwhere T: Into<ConditionValue>,

source§

fn json_greater_than<T>(&self, value: T, path: Option<JsonFilterPath>) -> Filterwhere T: Into<ConditionValue>,

source§

fn json_greater_than_or_equals<T>( &self, value: T, path: Option<JsonFilterPath> ) -> Filterwhere T: Into<ConditionValue>,

source§

impl ScalarCompare for ScalarFieldRef

source§

fn is_in<T>(&self, values: T) -> Filterwhere T: Into<ConditionListValue>,

Field is in a given value

source§

fn not_in<T>(&self, values: T) -> Filterwhere T: Into<ConditionListValue>,

Field is not in a given value

source§

fn equals<T>(&self, val: T) -> Filterwhere T: Into<ConditionValue>,

Field equals the given value.

source§

fn not_equals<T>(&self, val: T) -> Filterwhere T: Into<ConditionValue>,

Field does not equal the given value.

source§

fn contains<T>(&self, val: T) -> Filterwhere T: Into<ConditionValue>,

Field contains the given value.

source§

fn not_contains<T>(&self, val: T) -> Filterwhere T: Into<ConditionValue>,

Field does not contain the given value.

source§

fn starts_with<T>(&self, val: T) -> Filterwhere T: Into<ConditionValue>,

Field starts with the given value.

source§

fn not_starts_with<T>(&self, val: T) -> Filterwhere T: Into<ConditionValue>,

Field does not start with the given value.

source§

fn ends_with<T>(&self, val: T) -> Filterwhere T: Into<ConditionValue>,

Field ends with the given value.

source§

fn not_ends_with<T>(&self, val: T) -> Filterwhere T: Into<ConditionValue>,

Field does not end with the given value.

source§

fn less_than<T>(&self, val: T) -> Filterwhere T: Into<ConditionValue>,

Field is less than the given value.

source§

fn less_than_or_equals<T>(&self, val: T) -> Filterwhere T: Into<ConditionValue>,

Field is less than or equals the given value.

source§

fn greater_than<T>(&self, val: T) -> Filterwhere T: Into<ConditionValue>,

Field is greater than the given value.

source§

fn greater_than_or_equals<T>(&self, val: T) -> Filterwhere T: Into<ConditionValue>,

Field is greater than or equals the given value.

source§

fn search<T>(&self, val: T) -> Filterwhere T: Into<ConditionValue>,

source§

fn is_set(&self, val: bool) -> Filter