pub enum ToSqlType {
Borrowed(ValueRef<'static>),
Owned(Value),
}
Variants§
Borrowed(ValueRef<'static>)
A borrowed SQLite-representable value.
Owned(Value)
An owned SQLite-representable value.
Trait Implementations§
Source§impl<T: ?Sized> From<&'static T> for ToSqlType
impl<T: ?Sized> From<&'static T> for ToSqlType
Source§fn from(t: &'static T) -> Self
fn from(t: &'static T) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ToSqlType
impl RefUnwindSafe for ToSqlType
impl Send for ToSqlType
impl Sync for ToSqlType
impl Unpin for ToSqlType
impl UnwindSafe for ToSqlType
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more