Struct mysql::Column
[−]
[src]
pub struct Column { /* fields omitted */ }
Represents MySql Column (column packet).
Methods
impl Column
[src]
pub fn column_length(&self) -> u32
[src]
Returns value of the column_length field of a column packet.
pub fn column_type(&self) -> ColumnType
[src]
Returns value of the column_type field of a column packet.
pub fn character_set(&self) -> u16
[src]
Returns value of the character_set field of a column packet.
pub fn flags(&self) -> ColumnFlags
[src]
Returns value of the flags field of a column packet.
pub fn decimals(&self) -> u8
[src]
Returns value of the decimals field of a column packet.
pub fn schema_ref(&self) -> &[u8]
[src]
Returns value of the schema field of a column packet as a byte slice.
pub fn schema_str(&self) -> Cow<str>
[src]
Returns value of the schema field of a column packet as a string (lossy converted).
pub fn table_ref(&self) -> &[u8]
[src]
Returns value of the table field of a column packet as a byte slice.
pub fn table_str(&self) -> Cow<str>
[src]
Returns value of the table field of a column packet as a string (lossy converted).
pub 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.
pub fn org_table_str(&self) -> Cow<str>
[src]
Returns value of the org_table field of a column packet as a string (lossy converted).
pub fn name_ref(&self) -> &[u8]
[src]
Returns value of the name field of a column packet as a byte slice.
pub fn name_str(&self) -> Cow<str>
[src]
Returns value of the name field of a column packet as a string (lossy converted).
pub 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.
pub 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 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. Read more