Struct msql_srv::Value [] [src]

pub struct Value<'a>(_);

MySQL value as provided when executing prepared statements.

Methods

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

[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).

[src]

Returns true if this is a NULL value

Trait Implementations

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

[src]

Formats the value using the given formatter. Read more

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

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

[src]

This method tests for !=.

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

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

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

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

[src]

Performs the conversion.

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

[src]

Performs the conversion.

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

[src]

Performs the conversion.

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

[src]

Performs the conversion.

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

[src]

Performs the conversion.

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

[src]

Performs the conversion.

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

[src]

Performs the conversion.

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

[src]

Performs the conversion.

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

[src]

Performs the conversion.

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

[src]

Performs the conversion.

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

Important traits for &'a mut [u8]
[src]

Performs the conversion.

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

[src]

Performs the conversion.

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

[src]

Performs the conversion.

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

[src]

Performs the conversion.

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

[src]

Performs the conversion.

Auto Trait Implementations

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

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