Skip to main content

Changeset

Trait Changeset 

Source
pub trait Changeset<E: Entity> {
    // Required method
    fn changes(&self) -> Vec<ColumnValue>;

    // Provided method
    fn concurrency_token(&self) -> Result<Option<SqlValue>, OrmError> { ... }
}
Expand description

Stable contract for extracting changed values for updates.

Required Methods§

Provided Methods§

Implementors§