Trait diesel::row::IntoOwnedRow

source ·
pub trait IntoOwnedRow<'a, DB: Backend>: Row<'a, DB> {
    type OwnedRow: Row<'a, DB> + Send + 'static;
    type Cache: Default + 'static;

    // Required method
    fn into_owned(self, cache: &mut Self::Cache) -> Self::OwnedRow;
}
Expand description

A row that can be turned into an owned version

Required Associated Types§

source

type OwnedRow: Row<'a, DB> + Send + 'static

The owned version of the row

source

type Cache: Default + 'static

A store for cached information between rows for faster access

Required Methods§

source

fn into_owned(self, cache: &mut Self::Cache) -> Self::OwnedRow

Turn the row into its owned version

Object Safety§

This trait is not object safe.

Implementors§