pub trait CompositeCompare {
    // Required methods
    fn every<T>(&self, filter: T) -> Filter
       where T: Into<Filter>;
    fn some<T>(&self, filter: T) -> Filter
       where T: Into<Filter>;
    fn none<T>(&self, filter: T) -> Filter
       where T: Into<Filter>;
    fn is<T>(&self, filter: T) -> Filter
       where T: Into<Filter>;
    fn is_not<T>(&self, filter: T) -> Filter
       where T: Into<Filter>;
    fn is_empty(&self, b: bool) -> Filter;
    fn is_set(&self, b: bool) -> Filter;
    fn equals(&self, val: PrismaValue) -> Filter;
}
Expand description

Comparison methods for composite fields.

Required Methods§

source

fn every<T>(&self, filter: T) -> Filterwhere T: Into<Filter>,

source

fn some<T>(&self, filter: T) -> Filterwhere T: Into<Filter>,

source

fn none<T>(&self, filter: T) -> Filterwhere T: Into<Filter>,

source

fn is<T>(&self, filter: T) -> Filterwhere T: Into<Filter>,

source

fn is_not<T>(&self, filter: T) -> Filterwhere T: Into<Filter>,

source

fn is_empty(&self, b: bool) -> Filter

source

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

source

fn equals(&self, val: PrismaValue) -> Filter

Object Safety§

This trait is not object safe.

Implementors§