Struct lib::db::psql::table_metadata::TableMetadataImpl
source · [−]pub struct TableMetadataImpl { /* private fields */ }Implementations
sourceimpl TableMetadataImpl
impl TableMetadataImpl
pub fn new(psql_connection: Rc<RefCell<PsqlConnection>>) -> TableMetadataImpl
Trait Implementations
sourceimpl TableMetadata for TableMetadataImpl
impl TableMetadata for TableMetadataImpl
fn get_column(
&self,
table_id: &PsqlTableIdentity,
column_name: &str
) -> ResultAnyError<PsqlTableColumn>
fn get_rows(
&self,
table: PsqlTable,
column_name: &str,
id: &PsqlParamValue
) -> ResultAnyError<Vec<PsqlTableRow>>
fn get_one_row<'a>(
&self,
table: &PsqlTable,
column_name: &str,
id: &str
) -> ResultAnyError<PsqlTableRow>
Auto Trait Implementations
impl !RefUnwindSafe for TableMetadataImpl
impl !Send for TableMetadataImpl
impl !Sync for TableMetadataImpl
impl Unpin for TableMetadataImpl
impl !UnwindSafe for TableMetadataImpl
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