pub trait PredicateProjection {
// Required method
fn map<'a>(
&self,
predicate: &Expr,
other: Option<&Expr>,
table: &str,
column: String,
proven: bool,
peers: impl Iterator<Item = &'a str>,
) -> Option<(String, bool)>;
// Provided methods
fn table_arm(&self) { ... }
fn inspect_factor(&self, _: &TableFactor) { ... }
fn inspect_query(&self, _: &Query) { ... }
fn relation_name(&self, _: &ObjectName, original: String) -> String { ... }
fn qualifier_matches(&self, table: &str, qualifier: &str) -> bool { ... }
}Required Methods§
fn map<'a>( &self, predicate: &Expr, other: Option<&Expr>, table: &str, column: String, proven: bool, peers: impl Iterator<Item = &'a str>, ) -> Option<(String, bool)>
Provided Methods§
fn table_arm(&self)
fn inspect_factor(&self, _: &TableFactor)
fn inspect_query(&self, _: &Query)
fn relation_name(&self, _: &ObjectName, original: String) -> String
fn qualifier_matches(&self, table: &str, qualifier: &str) -> bool
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".