pub struct SqliteBindValue<'a> { /* private fields */ }
Available on crate feature
sqlite
only.Expand description
This type represents a value bound to a sqlite prepared statement
It can be constructed via the various From<T>
implementations
Trait Implementations§
Source§impl<'a> Debug for SqliteBindValue<'a>
impl<'a> Debug for SqliteBindValue<'a>
Source§impl<'a> From<&'a [u8]> for SqliteBindValue<'a>
impl<'a> From<&'a [u8]> for SqliteBindValue<'a>
Source§impl<'a> From<&'a str> for SqliteBindValue<'a>
impl<'a> From<&'a str> for SqliteBindValue<'a>
Source§impl<'a, T> From<Option<T>> for SqliteBindValue<'a>where
T: Into<SqliteBindValue<'a>>,
impl<'a, T> From<Option<T>> for SqliteBindValue<'a>where
T: Into<SqliteBindValue<'a>>,
Source§impl From<String> for SqliteBindValue<'_>
impl From<String> for SqliteBindValue<'_>
Source§impl From<f64> for SqliteBindValue<'_>
impl From<f64> for SqliteBindValue<'_>
Source§impl From<i32> for SqliteBindValue<'_>
impl From<i32> for SqliteBindValue<'_>
Auto Trait Implementations§
impl<'a> Freeze for SqliteBindValue<'a>
impl<'a> RefUnwindSafe for SqliteBindValue<'a>
impl<'a> Send for SqliteBindValue<'a>
impl<'a> Sync for SqliteBindValue<'a>
impl<'a> Unpin for SqliteBindValue<'a>
impl<'a> UnwindSafe for SqliteBindValue<'a>
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
Source§impl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
Source§fn into_any(self: Box<T>) -> Box<dyn Any>
fn into_any(self: Box<T>) -> Box<dyn Any>
Convert
Box<dyn Trait>
(where Trait: Downcast
) to Box<dyn Any>
. Box<dyn Any>
can
then be further downcast
into Box<ConcreteType>
where ConcreteType
implements Trait
.Source§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
Convert
Rc<Trait>
(where Trait: Downcast
) to Rc<Any>
. Rc<Any>
can then be
further downcast
into Rc<ConcreteType>
where ConcreteType
implements Trait
.Source§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
Convert
&Trait
(where Trait: Downcast
) to &Any
. This is needed since Rust cannot
generate &Any
’s vtable from &Trait
’s.Source§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
Convert
&mut Trait
(where Trait: Downcast
) to &Any
. This is needed since Rust cannot
generate &mut Any
’s vtable from &mut Trait
’s.