[−][src]Trait parse_mediawiki_sql::types::FromSql
Trait containing a function that infallibly converts from an SQL string to a Rust type, which can borrow from the string or not.
Required methods
Loading content...Implementations on Foreign Types
impl<'a> FromSql<'a> for bool
[src]
impl<'a> FromSql<'a> for u8
[src]
impl<'a> FromSql<'a> for u16
[src]
impl<'a> FromSql<'a> for u32
[src]
impl<'a> FromSql<'a> for u64
[src]
impl<'a> FromSql<'a> for i8
[src]
impl<'a> FromSql<'a> for i16
[src]
impl<'a> FromSql<'a> for i32
[src]
impl<'a> FromSql<'a> for i64
[src]
impl<'a> FromSql<'a> for f32
[src]
impl<'a> FromSql<'a> for NotNan<f32>
[src]
impl<'a> FromSql<'a> for f64
[src]
impl<'a> FromSql<'a> for NotNan<f64>
[src]
impl<'a> FromSql<'a> for &'a str
[src]
Use this for string-like types that have no escape sequences,
like timestamps, which only contain [0-9: -]
.
impl<'a> FromSql<'a> for String
[src]
Use this for string types that require unescaping and are guaranteed to be valid UTF-8, like page titles.
impl<'a> FromSql<'a> for Vec<u8>
[src]
This is used for "strings" that sometimes contain invalid UTF-8, like the
cl_sortkey
field in the categorylinks
table, which is truncated to 230
impl<'a, T> FromSql<'a> for Option<T> where
T: FromSql<'a>,
[src]
Loading content...
T: FromSql<'a>,