pub struct Metadata<'s, const C: usize> {
pub table_name: &'s str,
pub id_column: &'s str,
pub columns: [&'s str; C],
pub select_sql: &'s str,
pub select_by_id_sql: &'s str,
pub insert_sql: &'s str,
pub update_by_id_sql: &'s str,
pub delete_by_id_sql: &'s str,
}Fields
table_name: &'s strid_column: &'s strcolumns: [&'s str; C]select_sql: &'s strselect_by_id_sql: &'s strinsert_sql: &'s strupdate_by_id_sql: &'s strdelete_by_id_sql: &'s strAuto Trait Implementations
impl<'s, const C: usize> RefUnwindSafe for Metadata<'s, C>
impl<'s, const C: usize> Send for Metadata<'s, C>
impl<'s, const C: usize> Sync for Metadata<'s, C>
impl<'s, const C: usize> Unpin for Metadata<'s, C>
impl<'s, const C: usize> UnwindSafe for Metadata<'s, C>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more