Trait django_query::filtering::Meta
source · [−]pub trait Meta<R> {
fn accept_visitor<V: MetaVisitor<R>>(&self, visitor: &mut V)
where
Self: Sized;
}
Expand description
A type holding metadata about another type.
A Meta
holds a representation of an exposed structure, similar
to Member for fields, but now for an entire structured
type. When a type is Filterable it can produce a Meta
for
itself, to enable discovery of its available members and their
supported operators.
Required methods
fn accept_visitor<V: MetaVisitor<R>>(&self, visitor: &mut V) where
Self: Sized,
fn accept_visitor<V: MetaVisitor<R>>(&self, visitor: &mut V) where
Self: Sized,
visitor
will be called with each exposed member of the type.