pub struct TypeFilter<T: InputType> {
    pub eq: Option<T>,
    pub ne: Option<T>,
    pub gt: Option<T>,
    pub gte: Option<T>,
    pub lt: Option<T>,
    pub lte: Option<T>,
    pub is_in: Option<Vec<T>>,
    pub is_not_in: Option<Vec<T>>,
    pub is_null: Option<bool>,
}

Fields

eq: Option<T>ne: Option<T>gt: Option<T>gte: Option<T>lt: Option<T>lte: Option<T>is_in: Option<Vec<T>>is_not_in: Option<Vec<T>>is_null: Option<bool>

Trait Implementations

Formats the value using the given formatter. Read more

The raw type used for validator. Read more

Type the name.

Create type information in the registry and return qualified typename.

Parse from Value. None represents undefined.

Convert to a Value for introspection.

Returns a reference to the raw value.

Qualified typename.

The raw type used for validator. Read more

Type the name.

Create type information in the registry and return qualified typename.

Parse from Value. None represents undefined.

Convert to a Value for introspection.

Returns a reference to the raw value.

Qualified typename.

The raw type used for validator. Read more

Type the name.

Create type information in the registry and return qualified typename.

Parse from Value. None represents undefined.

Convert to a Value for introspection.

Returns a reference to the raw value.

Qualified typename.

The raw type used for validator. Read more

Type the name.

Create type information in the registry and return qualified typename.

Parse from Value. None represents undefined.

Convert to a Value for introspection.

Returns a reference to the raw value.

Qualified typename.

The raw type used for validator. Read more

Type the name.

Create type information in the registry and return qualified typename.

Parse from Value. None represents undefined.

Convert to a Value for introspection.

Returns a reference to the raw value.

Qualified typename.

The raw type used for validator. Read more

Type the name.

Create type information in the registry and return qualified typename.

Parse from Value. None represents undefined.

Convert to a Value for introspection.

Returns a reference to the raw value.

Qualified typename.

The raw type used for validator. Read more

Type the name.

Create type information in the registry and return qualified typename.

Parse from Value. None represents undefined.

Convert to a Value for introspection.

Returns a reference to the raw value.

Qualified typename.

The raw type used for validator. Read more

Type the name.

Create type information in the registry and return qualified typename.

Parse from Value. None represents undefined.

Convert to a Value for introspection.

Returns a reference to the raw value.

Qualified typename.

The raw type used for validator. Read more

Type the name.

Create type information in the registry and return qualified typename.

Parse from Value. None represents undefined.

Convert to a Value for introspection.

Returns a reference to the raw value.

Qualified typename.

The raw type used for validator. Read more

Type the name.

Create type information in the registry and return qualified typename.

Parse from Value. None represents undefined.

Convert to a Value for introspection.

Returns a reference to the raw value.

Qualified typename.

The raw type used for validator. Read more

Type the name.

Create type information in the registry and return qualified typename.

Parse from Value. None represents undefined.

Convert to a Value for introspection.

Returns a reference to the raw value.

Qualified typename.

The raw type used for validator. Read more

Type the name.

Create type information in the registry and return qualified typename.

Parse from Value. None represents undefined.

Convert to a Value for introspection.

Returns a reference to the raw value.

Qualified typename.

The raw type used for validator. Read more

Type the name.

Create type information in the registry and return qualified typename.

Parse from Value. None represents undefined.

Convert to a Value for introspection.

Returns a reference to the raw value.

Qualified typename.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.