Skip to main content

SqlOutcome

Trait SqlOutcome 

Source
pub trait SqlOutcome {
    // Required method
    fn to_sql_ordinal(&self) -> i64;
}
Expand description

Maps a policy outcome to a total-order SQL ordinal.

Required Methods§

Source

fn to_sql_ordinal(&self) -> i64

Returns the scalar ordinal used by SQL grade projection.

Dyn Compatibility§

This trait is dyn compatible.

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

Implementations on Foreign Types§

Source§

impl SqlOutcome for ()

Implementors§