[][src]Struct mysql::Column

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 StructuralEq for Column[src]

impl Eq for Column[src]

impl Debug for Column[src]

impl PartialEq<Column> for Column[src]

impl Clone for Column[src]

impl StructuralPartialEq for Column[src]

Auto Trait Implementations

impl Send for Column

impl Sync for Column

impl Unpin for Column

impl UnwindSafe for Column

impl RefUnwindSafe for Column

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 

impl<T> Same<T> for T

type Output = T

Should always be Self