Struct mysql_async::Column
[−]
[src]
pub struct Column { /* fields omitted */ }
Represents MySql Column (column packet).
Methods
impl Column
[src]
fn column_length(&self) -> u32
[src]
Returns value of the column_length field of a column packet.
fn column_type(&self) -> ColumnType
[src]
Returns value of the column_type field of a column packet.
fn character_set(&self) -> u16
[src]
Returns value of the character_set field of a column packet.
fn flags(&self) -> ColumnFlags
[src]
Returns value of the flags field of a column packet.
fn decimals(&self) -> u8
[src]
Returns value of the decimals field of a column packet.
fn schema_ref(&self) -> &[u8]
[src]
Returns value of the schema field of a column packet as a byte slice.
fn schema_str(&self) -> Cow<str>
[src]
Returns value of the schema field of a column packet as a string (lossy converted).
fn table_ref(&self) -> &[u8]
[src]
Returns value of the table field of a column packet as a byte slice.
fn table_str(&self) -> Cow<str>
[src]
Returns value of the table field of a column packet as a string (lossy converted).
fn org_table_ref(&self) -> &[u8]
[src]
Returns value of the org_table field of a column packet as a byte slice.
"org_table" is for original table name.
fn org_table_str(&self) -> Cow<str>
[src]
Returns value of the org_table field of a column packet as a string (lossy converted).
fn name_ref(&self) -> &[u8]
[src]
Returns value of the name field of a column packet as a byte slice.
fn name_str(&self) -> Cow<str>
[src]
Returns value of the name field of a column packet as a string (lossy converted).
fn org_name_ref(&self) -> &[u8]
[src]
Returns value of the org_name field of a column packet as a byte slice.
"org_name" is for original column name.
fn org_name_str(&self) -> Cow<str>
[src]
Returns value of the org_name field of a column packet as a string (lossy converted).
Trait Implementations
impl Clone for Column
[src]
fn clone(&self) -> Column
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl PartialEq<Column> for Column
[src]
fn eq(&self, __arg_0: &Column) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Column) -> bool
[src]
This method tests for !=
.
impl Debug for Column
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result<(), Error>
[src]
Formats the value using the given formatter.