pub struct TablesRow {
pub catalog: VarCharArray<128>,
pub schema: VarCharArray<128>,
pub table: VarCharArray<255>,
pub table_type: VarCharArray<255>,
pub remarks: VarCharArray<1024>,
}Expand description
A row returned by crate::Preallocated::tables. The members are associated with the columns
of the result set returned by crate::Preallocated::tables_cursor.
See: https://learn.microsoft.com/sql/odbc/reference/syntax/sqltables-function
Fields§
§catalog: VarCharArray<128>Binds to the TABLE_CAT column. Catalog name. NULL if not applicable.
schema: VarCharArray<128>Binds to the TABLE_SCHEM column. Schema name. NULL if not applicable.
table: VarCharArray<255>Binds to the TABLE_NAME column. Table name.
table_type: VarCharArray<255>Binds to the TABLE_TYPE column. Table type identifier, e.g. "TABLE", "VIEW".
remarks: VarCharArray<1024>Binds to the REMARKS column. Description of the table. NULL if unavailable.
Trait Implementations§
Source§impl FetchRow for TablesRow
impl FetchRow for TablesRow
Source§unsafe fn bind_columns_to_cursor(
&mut self,
cursor: StatementRef<'_>,
) -> Result<(), Error>
unsafe fn bind_columns_to_cursor( &mut self, cursor: StatementRef<'_>, ) -> Result<(), Error>
Binds the columns of the result set to members of the row. Read more
Source§fn find_truncation(&self) -> Option<TruncationInfo>
fn find_truncation(&self) -> Option<TruncationInfo>
If it exists, this returns the “buffer index” of a member, which has been truncated.
impl Copy for TablesRow
Auto Trait Implementations§
impl Freeze for TablesRow
impl RefUnwindSafe for TablesRow
impl Send for TablesRow
impl Sync for TablesRow
impl Unpin for TablesRow
impl UnsafeUnpin for TablesRow
impl UnwindSafe for TablesRow
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more