pub trait TreePredicate {
// Required methods
fn columns<'a, I>(descendents: I) -> Result<Vec<String>, ToqlError>
where I: Iterator<Item = FieldPath<'a>>;
fn args<'a, I>(
&self,
descendents: I,
args: &mut Vec<SqlArg>,
) -> Result<(), ToqlError>
where I: Iterator<Item = FieldPath<'a>> + Clone;
}
Expand description
The trait allows to build the a key predicate for nested structs.
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.