Struct lib::db::psql::table_metadata::TableMetadata
source · [−]pub struct TableMetadata { /* private fields */ }Implementations
sourceimpl TableMetadata
impl TableMetadata
pub fn new(psql_connection: Rc<RefCell<PsqlConnection>>) -> TableMetadata
sourceimpl TableMetadata
impl TableMetadata
pub fn get_column(
&self,
schema: &str,
table_name: &str,
column_name: &str
) -> ResultAnyError<PsqlTableColumn<'_>>
pub fn get_psql_table_rows<'a>(
&self,
table: PsqlTable<'a>,
column_name: &str,
id: &PsqlParamValue
) -> ResultAnyError<PsqlTableRows<'a>>
pub fn get_one_row<'a>(
&self,
table: &PsqlTable<'a>,
column_name: &str,
id: &str
) -> ResultAnyError<Row>
Auto Trait Implementations
impl !RefUnwindSafe for TableMetadata
impl !Send for TableMetadata
impl !Sync for TableMetadata
impl Unpin for TableMetadata
impl !UnwindSafe for TableMetadata
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Instruments this type with the provided Span, returning an
Instrumented wrapper. Read more