[−][src]Struct msql_srv::Value
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]
fn into(self) -> NaiveDateTime[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(&self) -> 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
Blanket Implementations
impl<T, U> Into for T where
U: From<T>, [src]
U: From<T>,
impl<T> From for T[src]
impl<T> ToOwned for T where
T: Clone, [src]
T: Clone,
impl<T, U> TryFrom for T where
U: Into<T>, [src]
U: Into<T>,
type Error = !
🔬 This is a nightly-only experimental API. (
try_from)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> Borrow for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> BorrowMut for T where
T: ?Sized, [src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T[src]
impl<T, U> TryInto for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,