Home
last modified time | relevance | path

Searched refs:FromSql (Results 1 – 11 of 11) sorted by relevance

/external/rust/crates/rusqlite/src/types/
Dfrom_sql.rs88 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 …]
Dchrono.rs7 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> {
Dserde_json.rs5 use crate::types::{FromSql, FromSqlError, FromSqlResult, ToSql, ToSqlOutput, ValueRef};
16 impl FromSql for Value {
Durl.rs2 use crate::types::{FromSql, FromSqlError, FromSqlResult, ToSql, ToSqlOutput, ValueRef};
14 impl FromSql for Url {
Dtime.rs2 use crate::types::{FromSql, FromSqlError, FromSqlResult, ToSql, ToSqlOutput, ValueRef};
17 impl FromSql for OffsetDateTime {
Dmod.rs53 pub use self::from_sql::{FromSql, FromSqlError, FromSqlResult};
/external/rust/crates/rusqlite/src/
Drow.rs6 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,)* {
Dfunctions.rs69 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/
DREADME.md88 * `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)
DChangelog.md33 * 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/
Dmod.rs23 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()