[][src]Struct msql_srv::Value

pub struct Value<'a>(_);

MySQL value as provided when executing prepared statements.

Methods

impl<'a> Value<'a>[src]

pub fn into_inner(self) -> ValueInner<'a>[src]

Return the inner stored representation of this value.

This may be useful for when you do not care about the exact data type used for a column, but instead wish to introspect a value you are given at runtime. Note that the contained value may be stored in a type that is more general than what the corresponding parameter type allows (e.g., a u8 will be stored as an u64).

pub fn is_null(&self) -> bool[src]

Returns true if this is a NULL value

Trait Implementations

impl<'a> Into<u8> for Value<'a>[src]

impl<'a> Into<u16> for Value<'a>[src]

impl<'a> Into<u32> for Value<'a>[src]

impl<'a> Into<u64> for Value<'a>[src]

impl<'a> Into<i8> for Value<'a>[src]

impl<'a> Into<i16> for Value<'a>[src]

impl<'a> Into<i32> for Value<'a>[src]

impl<'a> Into<i64> for Value<'a>[src]

impl<'a> Into<f32> for Value<'a>[src]

impl<'a> Into<f64> for Value<'a>[src]

impl<'a> Into<&'a [u8]> for Value<'a>[src]

impl<'a> Into<&'a str> for Value<'a>[src]

impl<'a> Into<NaiveDate> for Value<'a>[src]

impl<'a> Into<NaiveDateTime> for Value<'a>[src]

impl<'a> Into<Duration> for Value<'a>[src]

impl<'a> Clone for Value<'a>[src]

impl<'a> Copy for Value<'a>[src]

impl<'a> PartialEq<Value<'a>> for Value<'a>[src]

impl<'a> Debug for Value<'a>[src]

impl<'a> StructuralPartialEq for Value<'a>[src]

Auto Trait Implementations

impl<'a> Send for Value<'a>

impl<'a> Sync for Value<'a>

impl<'a> Unpin for Value<'a>

impl<'a> UnwindSafe for Value<'a>

impl<'a> RefUnwindSafe for Value<'a>

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