fn contains_time_range(&self) -> bool {
        self.0
            .iter()
            .filter(|expr| expr.col == TIME_COLUMN_NAME)
            .count()
            == 2
    }
// Returns true if the Predicate contains two time expressions.
Returns true if the Predicate contains two time expressions.
Returns true if the Predicate contains two time expressions .
fn contains_time_range(&self) -> bool {
        self.0
            .iter()
            .filter(|expr| expr.col == TIME_COLUMN_NAME)
            .count()
            == 2
    }
fn contains_time_range ( & self ) -> bool { self . 0 . iter ( ) . filter ( | expr | expr . col == TIME_COLUMN_NAME ) . count ( ) == 2 }
Returns true if the Predicate contains two time expressions.
Returns true if the Predicate contains two time expressions .
&self
&self