Struct sqlx::mssql::MssqlValue
source · [−]pub struct MssqlValue { /* private fields */ }
This is supported on crate feature
mssql
only.Expand description
Implementation of Value
for MSSQL.
Trait Implementations
sourceimpl Clone for MssqlValue
impl Clone for MssqlValue
sourcefn clone(&self) -> MssqlValue
fn clone(&self) -> MssqlValue
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl From<MssqlValue> for AnyValue
impl From<MssqlValue> for AnyValue
sourcefn from(value: MssqlValue) -> AnyValue
fn from(value: MssqlValue) -> AnyValue
Converts to this type from the input type.
sourceimpl Value for MssqlValue
impl Value for MssqlValue
type Database = Mssql
sourcefn as_ref(&self) -> MssqlValueRef<'_>
fn as_ref(&self) -> MssqlValueRef<'_>
Get this value as a reference.
sourcefn type_info(&self) -> Cow<'_, MssqlTypeInfo>
fn type_info(&self) -> Cow<'_, MssqlTypeInfo>
Get the type information for this value.
sourcefn decode<'r, T>(&'r self) -> T where
T: Decode<'r, Self::Database> + Type<Self::Database>,
fn decode<'r, T>(&'r self) -> T where
T: Decode<'r, Self::Database> + Type<Self::Database>,
Decode this single value into the requested type. Read more
sourcefn decode_unchecked<'r, T>(&'r self) -> T where
T: Decode<'r, Self::Database>,
fn decode_unchecked<'r, T>(&'r self) -> T where
T: Decode<'r, Self::Database>,
Decode this single value into the requested type. Read more
Auto Trait Implementations
impl RefUnwindSafe for MssqlValue
impl Send for MssqlValue
impl Sync for MssqlValue
impl Unpin for MssqlValue
impl UnwindSafe for MssqlValue
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more