pub struct Sqlite;
sqlite
only.Expand description
Sqlite database driver.
Trait Implementations
sourceimpl Database for Sqlite
impl Database for Sqlite
type Connection = SqliteConnection
type Connection = SqliteConnection
The concrete Connection
implementation for this database.
type TransactionManager = SqliteTransactionManager
type TransactionManager = SqliteTransactionManager
The concrete TransactionManager
implementation for this database.
type QueryResult = SqliteQueryResult
type QueryResult = SqliteQueryResult
The concrete QueryResult
implementation for this database.
type Column = SqliteColumn
type Column = SqliteColumn
The concrete Column
implementation for this database.
type TypeInfo = SqliteTypeInfo
type TypeInfo = SqliteTypeInfo
The concrete TypeInfo
implementation for this database.
type Value = SqliteValue
type Value = SqliteValue
The concrete type used to hold an owned copy of the not-yet-decoded value that was received from the database. Read more
sourceimpl Decode<'_, Sqlite> for Hyphenated
impl Decode<'_, Sqlite> for Hyphenated
sourcepub fn decode(
value: SqliteValueRef<'_>
) -> Result<Hyphenated, Box<dyn Error + Send + Sync + 'static, Global>>
pub fn decode(
value: SqliteValueRef<'_>
) -> Result<Hyphenated, Box<dyn Error + Send + Sync + 'static, Global>>
Decode a new value of this type using a raw value from the database.
sourceimpl<'r, T> Decode<'r, Sqlite> for Json<T> where
T: 'r + Deserialize<'r>,
impl<'r, T> Decode<'r, Sqlite> for Json<T> where
T: 'r + Deserialize<'r>,
sourceimpl<'r> Decode<'r, Sqlite> for DateTime<FixedOffset>
impl<'r> Decode<'r, Sqlite> for DateTime<FixedOffset>
sourceimpl<'r> Decode<'r, Sqlite> for NaiveDateTime
impl<'r> Decode<'r, Sqlite> for NaiveDateTime
sourcepub fn decode(
value: SqliteValueRef<'r>
) -> Result<NaiveDateTime, Box<dyn Error + Send + Sync + 'static, Global>>
pub fn decode(
value: SqliteValueRef<'r>
) -> Result<NaiveDateTime, Box<dyn Error + Send + Sync + 'static, Global>>
Decode a new value of this type using a raw value from the database.
sourceimpl<Tz> Encode<'_, Sqlite> for DateTime<Tz> where
Tz: TimeZone,
<Tz as TimeZone>::Offset: Display,
impl<Tz> Encode<'_, Sqlite> for DateTime<Tz> where
Tz: TimeZone,
<Tz as TimeZone>::Offset: Display,
sourcepub fn encode_by_ref(
&self,
buf: &mut Vec<SqliteArgumentValue<'_>, Global>
) -> IsNull
pub fn encode_by_ref(
&self,
buf: &mut Vec<SqliteArgumentValue<'_>, Global>
) -> IsNull
Writes the value of self
into buf
without moving self
. Read more
sourcefn encode(self, buf: &mut <DB as HasArguments<'q>>::ArgumentBuffer) -> IsNull
fn encode(self, buf: &mut <DB as HasArguments<'q>>::ArgumentBuffer) -> IsNull
Writes the value of self
into buf
in the expected format for the database.
fn produces(&self) -> Option<<DB as Database>::TypeInfo>
fn size_hint(&self) -> usize
sourceimpl Encode<'_, Sqlite> for NaiveTime
impl Encode<'_, Sqlite> for NaiveTime
sourcepub fn encode_by_ref(
&self,
buf: &mut Vec<SqliteArgumentValue<'_>, Global>
) -> IsNull
pub fn encode_by_ref(
&self,
buf: &mut Vec<SqliteArgumentValue<'_>, Global>
) -> IsNull
Writes the value of self
into buf
without moving self
. Read more
sourcefn encode(self, buf: &mut <DB as HasArguments<'q>>::ArgumentBuffer) -> IsNull
fn encode(self, buf: &mut <DB as HasArguments<'q>>::ArgumentBuffer) -> IsNull
Writes the value of self
into buf
in the expected format for the database.
fn produces(&self) -> Option<<DB as Database>::TypeInfo>
fn size_hint(&self) -> usize
sourceimpl<T> Encode<'_, Sqlite> for Json<T> where
T: Serialize,
impl<T> Encode<'_, Sqlite> for Json<T> where
T: Serialize,
sourcepub fn encode_by_ref(
&self,
buf: &mut Vec<SqliteArgumentValue<'_>, Global>
) -> IsNull
pub fn encode_by_ref(
&self,
buf: &mut Vec<SqliteArgumentValue<'_>, Global>
) -> IsNull
Writes the value of self
into buf
without moving self
. Read more
sourcefn encode(self, buf: &mut <DB as HasArguments<'q>>::ArgumentBuffer) -> IsNull
fn encode(self, buf: &mut <DB as HasArguments<'q>>::ArgumentBuffer) -> IsNull
Writes the value of self
into buf
in the expected format for the database.
fn produces(&self) -> Option<<DB as Database>::TypeInfo>
fn size_hint(&self) -> usize
sourceimpl Encode<'_, Sqlite> for NaiveDate
impl Encode<'_, Sqlite> for NaiveDate
sourcepub fn encode_by_ref(
&self,
buf: &mut Vec<SqliteArgumentValue<'_>, Global>
) -> IsNull
pub fn encode_by_ref(
&self,
buf: &mut Vec<SqliteArgumentValue<'_>, Global>
) -> IsNull
Writes the value of self
into buf
without moving self
. Read more
sourcefn encode(self, buf: &mut <DB as HasArguments<'q>>::ArgumentBuffer) -> IsNull
fn encode(self, buf: &mut <DB as HasArguments<'q>>::ArgumentBuffer) -> IsNull
Writes the value of self
into buf
in the expected format for the database.
fn produces(&self) -> Option<<DB as Database>::TypeInfo>
fn size_hint(&self) -> usize
sourceimpl Encode<'_, Sqlite> for NaiveDateTime
impl Encode<'_, Sqlite> for NaiveDateTime
sourcepub fn encode_by_ref(
&self,
buf: &mut Vec<SqliteArgumentValue<'_>, Global>
) -> IsNull
pub fn encode_by_ref(
&self,
buf: &mut Vec<SqliteArgumentValue<'_>, Global>
) -> IsNull
Writes the value of self
into buf
without moving self
. Read more
sourcefn encode(self, buf: &mut <DB as HasArguments<'q>>::ArgumentBuffer) -> IsNull
fn encode(self, buf: &mut <DB as HasArguments<'q>>::ArgumentBuffer) -> IsNull
Writes the value of self
into buf
in the expected format for the database.
fn produces(&self) -> Option<<DB as Database>::TypeInfo>
fn size_hint(&self) -> usize
sourceimpl<'q> Encode<'q, Sqlite> for &'q [u8]
impl<'q> Encode<'q, Sqlite> for &'q [u8]
sourcepub fn encode_by_ref(
&self,
args: &mut Vec<SqliteArgumentValue<'q>, Global>
) -> IsNull
pub fn encode_by_ref(
&self,
args: &mut Vec<SqliteArgumentValue<'q>, Global>
) -> IsNull
Writes the value of self
into buf
without moving self
. Read more
sourcefn encode(self, buf: &mut <DB as HasArguments<'q>>::ArgumentBuffer) -> IsNull
fn encode(self, buf: &mut <DB as HasArguments<'q>>::ArgumentBuffer) -> IsNull
Writes the value of self
into buf
in the expected format for the database.
fn produces(&self) -> Option<<DB as Database>::TypeInfo>
fn size_hint(&self) -> usize
sourceimpl<'q> Encode<'q, Sqlite> for f64
impl<'q> Encode<'q, Sqlite> for f64
sourcepub fn encode_by_ref(
&self,
args: &mut Vec<SqliteArgumentValue<'q>, Global>
) -> IsNull
pub fn encode_by_ref(
&self,
args: &mut Vec<SqliteArgumentValue<'q>, Global>
) -> IsNull
Writes the value of self
into buf
without moving self
. Read more
sourcefn encode(self, buf: &mut <DB as HasArguments<'q>>::ArgumentBuffer) -> IsNull
fn encode(self, buf: &mut <DB as HasArguments<'q>>::ArgumentBuffer) -> IsNull
Writes the value of self
into buf
in the expected format for the database.
fn produces(&self) -> Option<<DB as Database>::TypeInfo>
fn size_hint(&self) -> usize
sourceimpl<'q> Encode<'q, Sqlite> for Cow<'q, str>
impl<'q> Encode<'q, Sqlite> for Cow<'q, str>
sourcepub fn encode(self, args: &mut Vec<SqliteArgumentValue<'q>, Global>) -> IsNull
pub fn encode(self, args: &mut Vec<SqliteArgumentValue<'q>, Global>) -> IsNull
Writes the value of self
into buf
in the expected format for the database.
sourcepub fn encode_by_ref(
&self,
args: &mut Vec<SqliteArgumentValue<'q>, Global>
) -> IsNull
pub fn encode_by_ref(
&self,
args: &mut Vec<SqliteArgumentValue<'q>, Global>
) -> IsNull
Writes the value of self
into buf
without moving self
. Read more
fn produces(&self) -> Option<<DB as Database>::TypeInfo>
fn size_hint(&self) -> usize
sourceimpl<'q> Encode<'q, Sqlite> for Uuid
impl<'q> Encode<'q, Sqlite> for Uuid
sourcepub fn encode_by_ref(
&self,
args: &mut Vec<SqliteArgumentValue<'q>, Global>
) -> IsNull
pub fn encode_by_ref(
&self,
args: &mut Vec<SqliteArgumentValue<'q>, Global>
) -> IsNull
Writes the value of self
into buf
without moving self
. Read more
sourcefn encode(self, buf: &mut <DB as HasArguments<'q>>::ArgumentBuffer) -> IsNull
fn encode(self, buf: &mut <DB as HasArguments<'q>>::ArgumentBuffer) -> IsNull
Writes the value of self
into buf
in the expected format for the database.
fn produces(&self) -> Option<<DB as Database>::TypeInfo>
fn size_hint(&self) -> usize
sourceimpl<'q> Encode<'q, Sqlite> for u32
impl<'q> Encode<'q, Sqlite> for u32
sourcepub fn encode_by_ref(
&self,
args: &mut Vec<SqliteArgumentValue<'q>, Global>
) -> IsNull
pub fn encode_by_ref(
&self,
args: &mut Vec<SqliteArgumentValue<'q>, Global>
) -> IsNull
Writes the value of self
into buf
without moving self
. Read more
sourcefn encode(self, buf: &mut <DB as HasArguments<'q>>::ArgumentBuffer) -> IsNull
fn encode(self, buf: &mut <DB as HasArguments<'q>>::ArgumentBuffer) -> IsNull
Writes the value of self
into buf
in the expected format for the database.
fn produces(&self) -> Option<<DB as Database>::TypeInfo>
fn size_hint(&self) -> usize
sourceimpl<'q> Encode<'q, Sqlite> for &'q str
impl<'q> Encode<'q, Sqlite> for &'q str
sourcepub fn encode_by_ref(
&self,
args: &mut Vec<SqliteArgumentValue<'q>, Global>
) -> IsNull
pub fn encode_by_ref(
&self,
args: &mut Vec<SqliteArgumentValue<'q>, Global>
) -> IsNull
Writes the value of self
into buf
without moving self
. Read more
sourcefn encode(self, buf: &mut <DB as HasArguments<'q>>::ArgumentBuffer) -> IsNull
fn encode(self, buf: &mut <DB as HasArguments<'q>>::ArgumentBuffer) -> IsNull
Writes the value of self
into buf
in the expected format for the database.
fn produces(&self) -> Option<<DB as Database>::TypeInfo>
fn size_hint(&self) -> usize
sourceimpl<'q> Encode<'q, Sqlite> for Vec<u8, Global>
impl<'q> Encode<'q, Sqlite> for Vec<u8, Global>
sourcepub fn encode(self, args: &mut Vec<SqliteArgumentValue<'q>, Global>) -> IsNull
pub fn encode(self, args: &mut Vec<SqliteArgumentValue<'q>, Global>) -> IsNull
Writes the value of self
into buf
in the expected format for the database.
sourcepub fn encode_by_ref(
&self,
args: &mut Vec<SqliteArgumentValue<'q>, Global>
) -> IsNull
pub fn encode_by_ref(
&self,
args: &mut Vec<SqliteArgumentValue<'q>, Global>
) -> IsNull
Writes the value of self
into buf
without moving self
. Read more
fn produces(&self) -> Option<<DB as Database>::TypeInfo>
fn size_hint(&self) -> usize
sourceimpl<'q> Encode<'q, Sqlite> for u16
impl<'q> Encode<'q, Sqlite> for u16
sourcepub fn encode_by_ref(
&self,
args: &mut Vec<SqliteArgumentValue<'q>, Global>
) -> IsNull
pub fn encode_by_ref(
&self,
args: &mut Vec<SqliteArgumentValue<'q>, Global>
) -> IsNull
Writes the value of self
into buf
without moving self
. Read more
sourcefn encode(self, buf: &mut <DB as HasArguments<'q>>::ArgumentBuffer) -> IsNull
fn encode(self, buf: &mut <DB as HasArguments<'q>>::ArgumentBuffer) -> IsNull
Writes the value of self
into buf
in the expected format for the database.
fn produces(&self) -> Option<<DB as Database>::TypeInfo>
fn size_hint(&self) -> usize
sourceimpl<'q> Encode<'q, Sqlite> for Hyphenated
impl<'q> Encode<'q, Sqlite> for Hyphenated
sourcepub fn encode_by_ref(
&self,
args: &mut Vec<SqliteArgumentValue<'q>, Global>
) -> IsNull
pub fn encode_by_ref(
&self,
args: &mut Vec<SqliteArgumentValue<'q>, Global>
) -> IsNull
Writes the value of self
into buf
without moving self
. Read more
sourcefn encode(self, buf: &mut <DB as HasArguments<'q>>::ArgumentBuffer) -> IsNull
fn encode(self, buf: &mut <DB as HasArguments<'q>>::ArgumentBuffer) -> IsNull
Writes the value of self
into buf
in the expected format for the database.
fn produces(&self) -> Option<<DB as Database>::TypeInfo>
fn size_hint(&self) -> usize
sourceimpl<'q> Encode<'q, Sqlite> for i32
impl<'q> Encode<'q, Sqlite> for i32
sourcepub fn encode_by_ref(
&self,
args: &mut Vec<SqliteArgumentValue<'q>, Global>
) -> IsNull
pub fn encode_by_ref(
&self,
args: &mut Vec<SqliteArgumentValue<'q>, Global>
) -> IsNull
Writes the value of self
into buf
without moving self
. Read more
sourcefn encode(self, buf: &mut <DB as HasArguments<'q>>::ArgumentBuffer) -> IsNull
fn encode(self, buf: &mut <DB as HasArguments<'q>>::ArgumentBuffer) -> IsNull
Writes the value of self
into buf
in the expected format for the database.
fn produces(&self) -> Option<<DB as Database>::TypeInfo>
fn size_hint(&self) -> usize
sourceimpl<'q, T> Encode<'q, Sqlite> for Option<T> where
T: 'q + Encode<'q, Sqlite> + Type<Sqlite>,
impl<'q, T> Encode<'q, Sqlite> for Option<T> where
T: 'q + Encode<'q, Sqlite> + Type<Sqlite>,
pub fn produces(&self) -> Option<<Sqlite as Database>::TypeInfo>
sourcepub fn encode(
self,
buf: &mut <Sqlite as HasArguments<'q>>::ArgumentBuffer
) -> IsNull
pub fn encode(
self,
buf: &mut <Sqlite as HasArguments<'q>>::ArgumentBuffer
) -> IsNull
Writes the value of self
into buf
in the expected format for the database.
sourcepub fn encode_by_ref(
&self,
buf: &mut <Sqlite as HasArguments<'q>>::ArgumentBuffer
) -> IsNull
pub fn encode_by_ref(
&self,
buf: &mut <Sqlite as HasArguments<'q>>::ArgumentBuffer
) -> IsNull
Writes the value of self
into buf
without moving self
. Read more
pub fn size_hint(&self) -> usize
sourceimpl<'q> Encode<'q, Sqlite> for bool
impl<'q> Encode<'q, Sqlite> for bool
sourcepub fn encode_by_ref(
&self,
args: &mut Vec<SqliteArgumentValue<'q>, Global>
) -> IsNull
pub fn encode_by_ref(
&self,
args: &mut Vec<SqliteArgumentValue<'q>, Global>
) -> IsNull
Writes the value of self
into buf
without moving self
. Read more
sourcefn encode(self, buf: &mut <DB as HasArguments<'q>>::ArgumentBuffer) -> IsNull
fn encode(self, buf: &mut <DB as HasArguments<'q>>::ArgumentBuffer) -> IsNull
Writes the value of self
into buf
in the expected format for the database.
fn produces(&self) -> Option<<DB as Database>::TypeInfo>
fn size_hint(&self) -> usize
sourceimpl<'q> Encode<'q, Sqlite> for u8
impl<'q> Encode<'q, Sqlite> for u8
sourcepub fn encode_by_ref(
&self,
args: &mut Vec<SqliteArgumentValue<'q>, Global>
) -> IsNull
pub fn encode_by_ref(
&self,
args: &mut Vec<SqliteArgumentValue<'q>, Global>
) -> IsNull
Writes the value of self
into buf
without moving self
. Read more
sourcefn encode(self, buf: &mut <DB as HasArguments<'q>>::ArgumentBuffer) -> IsNull
fn encode(self, buf: &mut <DB as HasArguments<'q>>::ArgumentBuffer) -> IsNull
Writes the value of self
into buf
in the expected format for the database.
fn produces(&self) -> Option<<DB as Database>::TypeInfo>
fn size_hint(&self) -> usize
sourceimpl<'q> Encode<'q, Sqlite> for i8
impl<'q> Encode<'q, Sqlite> for i8
sourcepub fn encode_by_ref(
&self,
args: &mut Vec<SqliteArgumentValue<'q>, Global>
) -> IsNull
pub fn encode_by_ref(
&self,
args: &mut Vec<SqliteArgumentValue<'q>, Global>
) -> IsNull
Writes the value of self
into buf
without moving self
. Read more
sourcefn encode(self, buf: &mut <DB as HasArguments<'q>>::ArgumentBuffer) -> IsNull
fn encode(self, buf: &mut <DB as HasArguments<'q>>::ArgumentBuffer) -> IsNull
Writes the value of self
into buf
in the expected format for the database.
fn produces(&self) -> Option<<DB as Database>::TypeInfo>
fn size_hint(&self) -> usize
sourceimpl<'q> Encode<'q, Sqlite> for i64
impl<'q> Encode<'q, Sqlite> for i64
sourcepub fn encode_by_ref(
&self,
args: &mut Vec<SqliteArgumentValue<'q>, Global>
) -> IsNull
pub fn encode_by_ref(
&self,
args: &mut Vec<SqliteArgumentValue<'q>, Global>
) -> IsNull
Writes the value of self
into buf
without moving self
. Read more
sourcefn encode(self, buf: &mut <DB as HasArguments<'q>>::ArgumentBuffer) -> IsNull
fn encode(self, buf: &mut <DB as HasArguments<'q>>::ArgumentBuffer) -> IsNull
Writes the value of self
into buf
in the expected format for the database.
fn produces(&self) -> Option<<DB as Database>::TypeInfo>
fn size_hint(&self) -> usize
sourceimpl<'q> Encode<'q, Sqlite> for f32
impl<'q> Encode<'q, Sqlite> for f32
sourcepub fn encode_by_ref(
&self,
args: &mut Vec<SqliteArgumentValue<'q>, Global>
) -> IsNull
pub fn encode_by_ref(
&self,
args: &mut Vec<SqliteArgumentValue<'q>, Global>
) -> IsNull
Writes the value of self
into buf
without moving self
. Read more
sourcefn encode(self, buf: &mut <DB as HasArguments<'q>>::ArgumentBuffer) -> IsNull
fn encode(self, buf: &mut <DB as HasArguments<'q>>::ArgumentBuffer) -> IsNull
Writes the value of self
into buf
in the expected format for the database.
fn produces(&self) -> Option<<DB as Database>::TypeInfo>
fn size_hint(&self) -> usize
sourceimpl<'q> Encode<'q, Sqlite> for i16
impl<'q> Encode<'q, Sqlite> for i16
sourcepub fn encode_by_ref(
&self,
args: &mut Vec<SqliteArgumentValue<'q>, Global>
) -> IsNull
pub fn encode_by_ref(
&self,
args: &mut Vec<SqliteArgumentValue<'q>, Global>
) -> IsNull
Writes the value of self
into buf
without moving self
. Read more
sourcefn encode(self, buf: &mut <DB as HasArguments<'q>>::ArgumentBuffer) -> IsNull
fn encode(self, buf: &mut <DB as HasArguments<'q>>::ArgumentBuffer) -> IsNull
Writes the value of self
into buf
in the expected format for the database.
fn produces(&self) -> Option<<DB as Database>::TypeInfo>
fn size_hint(&self) -> usize
sourceimpl<'q> Encode<'q, Sqlite> for String
impl<'q> Encode<'q, Sqlite> for String
sourcepub fn encode(self, args: &mut Vec<SqliteArgumentValue<'q>, Global>) -> IsNull
pub fn encode(self, args: &mut Vec<SqliteArgumentValue<'q>, Global>) -> IsNull
Writes the value of self
into buf
in the expected format for the database.
sourcepub fn encode_by_ref(
&self,
args: &mut Vec<SqliteArgumentValue<'q>, Global>
) -> IsNull
pub fn encode_by_ref(
&self,
args: &mut Vec<SqliteArgumentValue<'q>, Global>
) -> IsNull
Writes the value of self
into buf
without moving self
. Read more
fn produces(&self) -> Option<<DB as Database>::TypeInfo>
fn size_hint(&self) -> usize
sourceimpl<'q> HasArguments<'q> for Sqlite
impl<'q> HasArguments<'q> for Sqlite
type Database = Sqlite
type Arguments = SqliteArguments<'q>
type Arguments = SqliteArguments<'q>
The concrete Arguments
implementation for this database.
type ArgumentBuffer = Vec<SqliteArgumentValue<'q>, Global>
type ArgumentBuffer = Vec<SqliteArgumentValue<'q>, Global>
The concrete type used as a buffer for arguments while encoding.
sourceimpl<'q> HasStatement<'q> for Sqlite
impl<'q> HasStatement<'q> for Sqlite
type Database = Sqlite
type Statement = SqliteStatement<'q>
type Statement = SqliteStatement<'q>
The concrete Statement
implementation for this database.
sourceimpl<'r> HasValueRef<'r> for Sqlite
impl<'r> HasValueRef<'r> for Sqlite
type Database = Sqlite
type ValueRef = SqliteValueRef<'r>
type ValueRef = SqliteValueRef<'r>
The concrete type used to hold a reference to the not-yet-decoded value that has just been received from the database. Read more
sourceimpl MigrateDatabase for Sqlite
impl MigrateDatabase for Sqlite
pub fn create_database(
uri: &str
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send, Global>>
pub fn database_exists(
uri: &str
) -> Pin<Box<dyn Future<Output = Result<bool, Error>> + Send, Global>>
pub fn drop_database(
uri: &str
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send, Global>>
sourceimpl Type<Sqlite> for u16
impl Type<Sqlite> for u16
sourcepub fn type_info() -> SqliteTypeInfo
pub fn type_info() -> SqliteTypeInfo
Returns the canonical SQL type for this Rust type. Read more
sourcepub fn compatible(ty: &SqliteTypeInfo) -> bool
pub fn compatible(ty: &SqliteTypeInfo) -> bool
Determines if this Rust type is compatible with the given SQL type. Read more
sourceimpl Type<Sqlite> for NaiveTime
impl Type<Sqlite> for NaiveTime
sourcepub fn type_info() -> SqliteTypeInfo
pub fn type_info() -> SqliteTypeInfo
Returns the canonical SQL type for this Rust type. Read more
sourcepub fn compatible(ty: &SqliteTypeInfo) -> bool
pub fn compatible(ty: &SqliteTypeInfo) -> bool
Determines if this Rust type is compatible with the given SQL type. Read more
sourceimpl Type<Sqlite> for i64
impl Type<Sqlite> for i64
sourcepub fn type_info() -> SqliteTypeInfo
pub fn type_info() -> SqliteTypeInfo
Returns the canonical SQL type for this Rust type. Read more
sourcepub fn compatible(ty: &SqliteTypeInfo) -> bool
pub fn compatible(ty: &SqliteTypeInfo) -> bool
Determines if this Rust type is compatible with the given SQL type. Read more
sourceimpl Type<Sqlite> for NaiveDate
impl Type<Sqlite> for NaiveDate
sourcepub fn type_info() -> SqliteTypeInfo
pub fn type_info() -> SqliteTypeInfo
Returns the canonical SQL type for this Rust type. Read more
sourcepub fn compatible(ty: &SqliteTypeInfo) -> bool
pub fn compatible(ty: &SqliteTypeInfo) -> bool
Determines if this Rust type is compatible with the given SQL type. Read more
sourceimpl<Tz> Type<Sqlite> for DateTime<Tz> where
Tz: TimeZone,
impl<Tz> Type<Sqlite> for DateTime<Tz> where
Tz: TimeZone,
sourcepub fn type_info() -> SqliteTypeInfo
pub fn type_info() -> SqliteTypeInfo
Returns the canonical SQL type for this Rust type. Read more
sourcepub fn compatible(ty: &SqliteTypeInfo) -> bool
pub fn compatible(ty: &SqliteTypeInfo) -> bool
Determines if this Rust type is compatible with the given SQL type. Read more
sourceimpl Type<Sqlite> for i8
impl Type<Sqlite> for i8
sourcepub fn type_info() -> SqliteTypeInfo
pub fn type_info() -> SqliteTypeInfo
Returns the canonical SQL type for this Rust type. Read more
sourcepub fn compatible(ty: &SqliteTypeInfo) -> bool
pub fn compatible(ty: &SqliteTypeInfo) -> bool
Determines if this Rust type is compatible with the given SQL type. Read more
sourceimpl Type<Sqlite> for u32
impl Type<Sqlite> for u32
sourcepub fn type_info() -> SqliteTypeInfo
pub fn type_info() -> SqliteTypeInfo
Returns the canonical SQL type for this Rust type. Read more
sourcepub fn compatible(ty: &SqliteTypeInfo) -> bool
pub fn compatible(ty: &SqliteTypeInfo) -> bool
Determines if this Rust type is compatible with the given SQL type. Read more
sourceimpl<T> Type<Sqlite> for Json<T>
impl<T> Type<Sqlite> for Json<T>
sourcepub fn type_info() -> SqliteTypeInfo
pub fn type_info() -> SqliteTypeInfo
Returns the canonical SQL type for this Rust type. Read more
sourcepub fn compatible(ty: &SqliteTypeInfo) -> bool
pub fn compatible(ty: &SqliteTypeInfo) -> bool
Determines if this Rust type is compatible with the given SQL type. Read more
sourceimpl Type<Sqlite> for f64
impl Type<Sqlite> for f64
sourcepub fn type_info() -> SqliteTypeInfo
pub fn type_info() -> SqliteTypeInfo
Returns the canonical SQL type for this Rust type. Read more
sourceimpl Type<Sqlite> for NaiveDateTime
impl Type<Sqlite> for NaiveDateTime
sourcepub fn type_info() -> SqliteTypeInfo
pub fn type_info() -> SqliteTypeInfo
Returns the canonical SQL type for this Rust type. Read more
sourcepub fn compatible(ty: &SqliteTypeInfo) -> bool
pub fn compatible(ty: &SqliteTypeInfo) -> bool
Determines if this Rust type is compatible with the given SQL type. Read more
sourceimpl Type<Sqlite> for Hyphenated
impl Type<Sqlite> for Hyphenated
sourcepub fn type_info() -> SqliteTypeInfo
pub fn type_info() -> SqliteTypeInfo
Returns the canonical SQL type for this Rust type. Read more
sourceimpl Type<Sqlite> for Uuid
impl Type<Sqlite> for Uuid
sourcepub fn type_info() -> SqliteTypeInfo
pub fn type_info() -> SqliteTypeInfo
Returns the canonical SQL type for this Rust type. Read more
sourcepub fn compatible(ty: &SqliteTypeInfo) -> bool
pub fn compatible(ty: &SqliteTypeInfo) -> bool
Determines if this Rust type is compatible with the given SQL type. Read more
sourceimpl Type<Sqlite> for u8
impl Type<Sqlite> for u8
sourcepub fn type_info() -> SqliteTypeInfo
pub fn type_info() -> SqliteTypeInfo
Returns the canonical SQL type for this Rust type. Read more
sourcepub fn compatible(ty: &SqliteTypeInfo) -> bool
pub fn compatible(ty: &SqliteTypeInfo) -> bool
Determines if this Rust type is compatible with the given SQL type. Read more
sourceimpl Type<Sqlite> for String
impl Type<Sqlite> for String
sourcepub fn type_info() -> SqliteTypeInfo
pub fn type_info() -> SqliteTypeInfo
Returns the canonical SQL type for this Rust type. Read more
sourceimpl Type<Sqlite> for i16
impl Type<Sqlite> for i16
sourcepub fn type_info() -> SqliteTypeInfo
pub fn type_info() -> SqliteTypeInfo
Returns the canonical SQL type for this Rust type. Read more
sourcepub fn compatible(ty: &SqliteTypeInfo) -> bool
pub fn compatible(ty: &SqliteTypeInfo) -> bool
Determines if this Rust type is compatible with the given SQL type. Read more
sourceimpl Type<Sqlite> for Vec<u8, Global>
impl Type<Sqlite> for Vec<u8, Global>
sourcepub fn type_info() -> SqliteTypeInfo
pub fn type_info() -> SqliteTypeInfo
Returns the canonical SQL type for this Rust type. Read more
sourcepub fn compatible(ty: &SqliteTypeInfo) -> bool
pub fn compatible(ty: &SqliteTypeInfo) -> bool
Determines if this Rust type is compatible with the given SQL type. Read more
sourceimpl Type<Sqlite> for f32
impl Type<Sqlite> for f32
sourcepub fn type_info() -> SqliteTypeInfo
pub fn type_info() -> SqliteTypeInfo
Returns the canonical SQL type for this Rust type. Read more
sourceimpl Type<Sqlite> for str
impl Type<Sqlite> for str
sourcepub fn type_info() -> SqliteTypeInfo
pub fn type_info() -> SqliteTypeInfo
Returns the canonical SQL type for this Rust type. Read more
sourceimpl Type<Sqlite> for [u8]
impl Type<Sqlite> for [u8]
sourcepub fn type_info() -> SqliteTypeInfo
pub fn type_info() -> SqliteTypeInfo
Returns the canonical SQL type for this Rust type. Read more
sourcepub fn compatible(ty: &SqliteTypeInfo) -> bool
pub fn compatible(ty: &SqliteTypeInfo) -> bool
Determines if this Rust type is compatible with the given SQL type. Read more
sourceimpl Type<Sqlite> for bool
impl Type<Sqlite> for bool
sourcepub fn type_info() -> SqliteTypeInfo
pub fn type_info() -> SqliteTypeInfo
Returns the canonical SQL type for this Rust type. Read more
sourcepub fn compatible(ty: &SqliteTypeInfo) -> bool
pub fn compatible(ty: &SqliteTypeInfo) -> bool
Determines if this Rust type is compatible with the given SQL type. Read more
sourceimpl Type<Sqlite> for i32
impl Type<Sqlite> for i32
sourcepub fn type_info() -> SqliteTypeInfo
pub fn type_info() -> SqliteTypeInfo
Returns the canonical SQL type for this Rust type. Read more
sourcepub fn compatible(ty: &SqliteTypeInfo) -> bool
pub fn compatible(ty: &SqliteTypeInfo) -> bool
Determines if this Rust type is compatible with the given SQL type. Read more
impl HasStatementCache for Sqlite
Auto Trait Implementations
impl RefUnwindSafe for Sqlite
impl Send for Sqlite
impl Sync for Sqlite
impl Unpin for Sqlite
impl UnwindSafe for Sqlite
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more