Skip to main content

RuleRowValues

Trait RuleRowValues 

Source
pub trait RuleRowValues {
    // Required methods
    fn old_row(&self) -> Option<&Document>;
    fn new_row(&self) -> Option<&Document>;
    fn old_doc_id(&self) -> Option<DocId>;
    fn new_doc_id(&self) -> Option<DocId>;
}
Expand description

Logical OLD/NEW values used by rule action binding. Physical origins and source contexts stay in the executor.

Required Methods§

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§