[][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> PartialEq<Value<'a>> for Value<'a>[src]

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

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

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

Performs copy-assignment from source. Read more

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

Auto Trait Implementations

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

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

Blanket Implementations

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

impl<T> From for T[src]

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

type Owned = T

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

type Error = !

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

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

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

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

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

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

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.