[−][src]Struct mysql_async::Column
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 Clone for Column
[src]
impl Debug for Column
[src]
impl Eq for Column
[src]
impl PartialEq<Column> for Column
[src]
impl StructuralEq for Column
[src]
impl StructuralPartialEq for Column
[src]
Auto Trait Implementations
impl RefUnwindSafe for Column
impl Send for Column
impl Sync for Column
impl Unpin for Column
impl UnwindSafe for Column
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = !
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,