Searched refs:FromSql (Results 1 – 11 of 11) sorted by relevance
/external/rust/crates/rusqlite/src/types/ |
D | from_sql.rs | 88 pub trait FromSql: Sized { interface 93 impl FromSql for isize { 107 impl FromSql for $t { impl 128 impl FromSql for i64 { 134 impl FromSql for f64 { 144 impl FromSql for bool { 150 impl FromSql for String { 156 impl FromSql for Box<str> { 162 impl FromSql for std::rc::Rc<str> { 168 impl FromSql for std::sync::Arc<str> { [all …]
|
D | chrono.rs | 7 use crate::types::{FromSql, FromSqlError, FromSqlResult, ToSql, ToSqlOutput, ValueRef}; 19 impl FromSql for NaiveDate { 39 impl FromSql for NaiveTime { 67 impl FromSql for NaiveDateTime { 93 impl FromSql for DateTime<Utc> { 122 impl FromSql for DateTime<Local> {
|
D | serde_json.rs | 5 use crate::types::{FromSql, FromSqlError, FromSqlResult, ToSql, ToSqlOutput, ValueRef}; 16 impl FromSql for Value {
|
D | url.rs | 2 use crate::types::{FromSql, FromSqlError, FromSqlResult, ToSql, ToSqlOutput, ValueRef}; 14 impl FromSql for Url {
|
D | time.rs | 2 use crate::types::{FromSql, FromSqlError, FromSqlResult, ToSql, ToSqlOutput, ValueRef}; 17 impl FromSql for OffsetDateTime {
|
D | mod.rs | 53 pub use self::from_sql::{FromSql, FromSqlError, FromSqlResult};
|
/external/rust/crates/rusqlite/src/ |
D | row.rs | 6 use crate::types::{FromSql, FromSqlError, ValueRef}; 257 pub fn get_unwrap<I: RowIndex, T: FromSql>(&self, idx: I) -> T { in get_unwrap() 277 pub fn get<I: RowIndex, T: FromSql>(&self, idx: I) -> Result<T> { in get() 280 FromSql::column_result(value).map_err(|err| match err { in get() 376 … impl<'a, $($field,)*> convert::TryFrom<&'a Row<'a>> for ($($field,)*) where $($field: FromSql,)* {
|
D | functions.rs | 69 use crate::types::{FromSql, FromSqlError, ToSql, ValueRef}; 133 pub fn get<T: FromSql>(&self, idx: usize) -> Result<T> { in get() 136 FromSql::column_result(value).map_err(|err| match err { in get()
|
/external/rust/crates/rusqlite/ |
D | README.md | 88 * `chrono` implements [`FromSql`](https://docs.rs/rusqlite/~0/rusqlite/types/trait.FromSql.html) 91 * `serde_json` implements [`FromSql`](https://docs.rs/rusqlite/~0/rusqlite/types/trait.FromSql.html) 94 * `time` implements [`FromSql`](https://docs.rs/rusqlite/~0/rusqlite/types/trait.FromSql.html) 97 * `url` implements [`FromSql`](https://docs.rs/rusqlite/~0/rusqlite/types/trait.FromSql.html)
|
D | Changelog.md | 33 * The ToSql/FromSql implementations for time::Timespec now include 49 * Adds `FromSql` and `ToSql` impls for `isize`. Documents why `usize` and `u64` are not included. 93 * Bugfix: The `FromSql` impl for `i32` now returns an error instead of 95 * Added `FromSql` and `ToSql` impls for `i8`, `i16`, `u8`, `u16`, and `u32`. 107 * BREAKING CHANGE: The `FromSql` trait has been redesigned. It now requires a single, safe 220 * Adds `Sized` bound to `FromSql` trait as required by RFC 1214. 281 * Reexport `sqlite3_stmt` from `libsqlite3-sys` for easier `impl`-ing of `ToSql` and `FromSql`.
|
/external/rust/crates/rusqlite/src/vtab/ |
D | mod.rs | 23 use crate::types::{FromSql, FromSqlError, ToSql, ValueRef}; 530 pub fn get<T: FromSql>(&self, idx: usize) -> Result<T> { in get() 533 FromSql::column_result(value).map_err(|err| match err { in get()
|