pub struct SqliteValueRef<'a>(pub ValueRef<'a>);Tuple Fields§
§0: ValueRef<'a>Implementations§
Trait Implementations§
Source§impl<'a> Clone for SqliteValueRef<'a>
impl<'a> Clone for SqliteValueRef<'a>
Source§fn clone(&self) -> SqliteValueRef<'a>
fn clone(&self) -> SqliteValueRef<'a>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'a> Debug for SqliteValueRef<'a>
impl<'a> Debug for SqliteValueRef<'a>
Source§impl<'a> From<ValueRef<'a>> for SqliteValueRef<'a>
impl<'a> From<ValueRef<'a>> for SqliteValueRef<'a>
Source§impl<'a> Hash for SqliteValueRef<'a>
impl<'a> Hash for SqliteValueRef<'a>
Source§impl<'a> PartialEq for SqliteValueRef<'a>
impl<'a> PartialEq for SqliteValueRef<'a>
Source§impl<'a> ToSql for SqliteValueRef<'a>
impl<'a> ToSql for SqliteValueRef<'a>
Source§fn to_sql(&self) -> Result<ToSqlOutput<'a>>
fn to_sql(&self) -> Result<ToSqlOutput<'a>>
Converts Rust value to SQLite value
Source§impl<'a, C> Writable<C> for SqliteValueRef<'a>where
C: Context,
impl<'a, C> Writable<C> for SqliteValueRef<'a>where
C: Context,
fn write_to<T: ?Sized + Writer<C>>( &self, writer: &mut T, ) -> Result<(), C::Error>
fn bytes_needed(&self) -> Result<usize, C::Error>
fn write_to_buffer(
&self,
buffer: &mut [u8],
) -> Result<(), <C as Context>::Error>where
Self: DefaultContext<Context = C>,
C: Default,
fn write_to_vec(&self) -> Result<Vec<u8>, <C as Context>::Error>where
Self: DefaultContext<Context = C>,
C: Default,
fn write_to_stream<S>(&self, stream: S) -> Result<(), <C as Context>::Error>
fn write_to_file(
&self,
path: impl AsRef<Path>,
) -> Result<(), <C as Context>::Error>where
Self: DefaultContext<Context = C>,
C: Default,
fn write_to_buffer_with_ctx( &self, context: C, buffer: &mut [u8], ) -> Result<(), <C as Context>::Error>
fn write_to_buffer_with_ctx_mut( &self, context: &mut C, buffer: &mut [u8], ) -> Result<(), <C as Context>::Error>
fn write_to_vec_with_ctx( &self, context: C, ) -> Result<Vec<u8>, <C as Context>::Error>
fn write_to_vec_with_ctx_mut( &self, context: &mut C, ) -> Result<Vec<u8>, <C as Context>::Error>
fn write_to_stream_with_ctx<S>(
&self,
context: C,
stream: S,
) -> Result<(), <C as Context>::Error>where
S: Write,
fn write_to_file_with_ctx( &self, context: C, path: impl AsRef<Path>, ) -> Result<(), <C as Context>::Error>
impl<'a> Copy for SqliteValueRef<'a>
impl<'a> StructuralPartialEq for SqliteValueRef<'a>
Auto Trait Implementations§
impl<'a> Freeze for SqliteValueRef<'a>
impl<'a> RefUnwindSafe for SqliteValueRef<'a>
impl<'a> Send for SqliteValueRef<'a>
impl<'a> Sync for SqliteValueRef<'a>
impl<'a> Unpin for SqliteValueRef<'a>
impl<'a> UnwindSafe for SqliteValueRef<'a>
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> FutureExt for T
impl<T> FutureExt for T
Source§fn with_context(self, otel_cx: Context) -> WithContext<Self>
fn with_context(self, otel_cx: Context) -> WithContext<Self>
Source§fn with_current_context(self) -> WithContext<Self>
fn with_current_context(self) -> WithContext<Self>
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more