AsBsqlRow

Trait AsBsqlRow 

Source
pub trait AsBsqlRow: Sync {
    // Required methods
    fn as_bsql_row_columns(&self) -> impl Iterator<Item = AsBsqlColumnData<'_>>;
    fn bsql_column_names() -> impl Iterator<Item = &'static str>
       where Self: Sized;

    // Provided method
    fn bsql_with_rowid(self) -> WithRowId<Self>
       where Self: Sized { ... }
}

Required Methods§

Source

fn as_bsql_row_columns(&self) -> impl Iterator<Item = AsBsqlColumnData<'_>>

Source

fn bsql_column_names() -> impl Iterator<Item = &'static str>
where Self: Sized,

Provided Methods§

Source

fn bsql_with_rowid(self) -> WithRowId<Self>
where Self: Sized,

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

Source§

impl<R: AsBsqlRow> AsBsqlRow for &R

Source§

fn as_bsql_row_columns(&self) -> impl Iterator<Item = AsBsqlColumnData<'_>>

Source§

fn bsql_column_names() -> impl Iterator<Item = &'static str>
where Self: Sized,

Implementors§