Docs.rs
derive-sql-0.13.0
derive-sql 0.13.0
Docs.rs crate page
MIT
Links
Repository
crates.io
Source
Owners
juliendecharentenay
Dependencies
bytes ^1
normal
optional
chrono ^0
normal
derive-sql-mysql ^0
normal
optional
derive-sql-sqlite ^0
normal
optional
derive-sql-statement ^0
normal
enum_dispatch ^0
normal
fallible-iterator ^0
normal
optional
log ^0
normal
mysql ^25
normal
optional
mysql_common ^0
normal
optional
postgres ^0
normal
optional
rusqlite ^0
normal
optional
thiserror ^1
normal
mockall ^0
dev
Versions
33.87%
of the crate is documented
Platform
x86_64-unknown-linux-gnu
Feature flags
docs.rs
About docs.rs
Badges
Builds
Metadata
Shorthand URLs
Download
Rustdoc JSON
Build queue
Privacy policy
Rust
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
derive_
sql
0.13.0
ToParam
Required Methods
to_param
Implementations on Foreign Types
NaiveDate
NaiveDateTime
Option<T>
String
Vec<u8>
bool
f32
f64
i8
i16
i32
i64
isize
u8
u16
u32
u64
usize
Implementors
In derive_
sql::
traits
derive_sql
::
traits
Trait
ToParam
Copy item path
Source
pub trait ToParam { // Required method fn
to_param
(&self) ->
Result
<
Param
>; }
Required Methods
§
Source
fn
to_param
(&self) ->
Result
<
Param
>
Implementations on Foreign Types
§
Source
§
impl
ToParam
for
bool
Source
§
fn
to_param
(&self) ->
Result
<
Param
>
Source
§
impl
ToParam
for
f32
Source
§
fn
to_param
(&self) ->
Result
<
Param
>
Source
§
impl
ToParam
for
f64
Source
§
fn
to_param
(&self) ->
Result
<
Param
>
Source
§
impl
ToParam
for
i8
Source
§
fn
to_param
(&self) ->
Result
<
Param
>
Source
§
impl
ToParam
for
i16
Source
§
fn
to_param
(&self) ->
Result
<
Param
>
Source
§
impl
ToParam
for
i32
Source
§
fn
to_param
(&self) ->
Result
<
Param
>
Source
§
impl
ToParam
for
i64
Source
§
fn
to_param
(&self) ->
Result
<
Param
>
Source
§
impl
ToParam
for
isize
Source
§
fn
to_param
(&self) ->
Result
<
Param
>
Source
§
impl
ToParam
for
u8
Source
§
fn
to_param
(&self) ->
Result
<
Param
>
Source
§
impl
ToParam
for
u16
Source
§
fn
to_param
(&self) ->
Result
<
Param
>
Source
§
impl
ToParam
for
u32
Source
§
fn
to_param
(&self) ->
Result
<
Param
>
Source
§
impl
ToParam
for
u64
Source
§
fn
to_param
(&self) ->
Result
<
Param
>
Source
§
impl
ToParam
for
usize
Source
§
fn
to_param
(&self) ->
Result
<
Param
>
Source
§
impl
ToParam
for
String
Source
§
fn
to_param
(&self) ->
Result
<
Param
>
Source
§
impl
ToParam
for
Vec
<
u8
>
Source
§
fn
to_param
(&self) ->
Result
<
Param
>
Source
§
impl
ToParam
for
NaiveDate
Source
§
fn
to_param
(&self) ->
Result
<
Param
>
Source
§
impl
ToParam
for
NaiveDateTime
Source
§
fn
to_param
(&self) ->
Result
<
Param
>
Source
§
impl<T>
ToParam
for
Option
<T>
where T:
ToParam
,
Source
§
fn
to_param
(&self) ->
Result
<
Param
>
Implementors
§