[]Struct c3p0_mysql::r2d2::mysql::Column

pub struct Column { /* fields omitted */ }

Represents MySql Column (column packet).

Methods

impl Column

pub fn column_length(&self) -> u32

Returns value of the column_length field of a column packet.

pub fn column_type(&self) -> ColumnType

Returns value of the column_type field of a column packet.

pub fn character_set(&self) -> u16

Returns value of the character_set field of a column packet.

pub fn flags(&self) -> ColumnFlags

Returns value of the flags field of a column packet.

pub fn decimals(&self) -> u8

Returns value of the decimals field of a column packet.

Important traits for &'_ [u8]
pub fn schema_ref(&self) -> &[u8]

Returns value of the schema field of a column packet as a byte slice.

pub fn schema_str(&self) -> Cow<str>

Returns value of the schema field of a column packet as a string (lossy converted).

Important traits for &'_ [u8]
pub fn table_ref(&self) -> &[u8]

Returns value of the table field of a column packet as a byte slice.

pub fn table_str(&self) -> Cow<str>

Returns value of the table field of a column packet as a string (lossy converted).

Important traits for &'_ [u8]
pub fn org_table_ref(&self) -> &[u8]

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>

Returns value of the org_table field of a column packet as a string (lossy converted).

Important traits for &'_ [u8]
pub fn name_ref(&self) -> &[u8]

Returns value of the name field of a column packet as a byte slice.

pub fn name_str(&self) -> Cow<str>

Returns value of the name field of a column packet as a string (lossy converted).

Important traits for &'_ [u8]
pub fn org_name_ref(&self) -> &[u8]

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>

Returns value of the org_name field of a column packet as a string (lossy converted).

Trait Implementations

impl Clone for Column

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl Eq for Column

impl PartialEq<Column> for Column

impl Debug for Column

Auto Trait Implementations

impl Send for Column

impl Unpin for Column

impl Sync for Column

impl UnwindSafe for Column

impl RefUnwindSafe for Column

Blanket Implementations

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

type Owned = T

The resulting type after obtaining ownership.

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

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

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> BorrowMut<T> for T where
    T: ?Sized
[src]

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

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

impl<T> Same<T> for T

type Output = T

Should always be Self