[][src]Struct diesel::mysql::MysqlTypeMetadata

pub struct MysqlTypeMetadata {
    pub data_type: MysqlType,
    pub is_unsigned: bool,
}

The full type metadata for MySQL

This includes the type of the value, and whether it is signed.

Fields

data_type: MysqlType

The underlying data type

Affects the buffer_type sent to libmysqlclient

is_unsigned: bool

Is this type signed?

Affects the is_unsigned flag sent to libmysqlclient

Trait Implementations

impl Clone for MysqlTypeMetadata[src]

impl Copy for MysqlTypeMetadata[src]

impl Eq for MysqlTypeMetadata[src]

impl PartialEq<MysqlTypeMetadata> for MysqlTypeMetadata[src]

impl Debug for MysqlTypeMetadata[src]

impl Hash for MysqlTypeMetadata[src]

impl StructuralPartialEq for MysqlTypeMetadata[src]

impl StructuralEq for MysqlTypeMetadata[src]

Auto Trait Implementations

impl Send for MysqlTypeMetadata

impl Sync for MysqlTypeMetadata

impl Unpin for MysqlTypeMetadata

impl UnwindSafe for MysqlTypeMetadata

impl RefUnwindSafe for MysqlTypeMetadata

Blanket Implementations

impl<T> IntoSql for T[src]

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]