Docs.rs
sqlx-model-0.0.2
sqlx-model 0.0.2
Docs.rs crate page
Links
Repository
crates.io
Source
Owners
shanliu
Dependencies
sqlx ~0.5
normal
sqlx-model-macros ^0.0.1-beta.6
normal
tokio 1.*
normal
Versions
48.44%
of the crate is documented
Go to latest version
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
☰
SqlQuote
Required Methods
sql_quote
Implementations on Foreign Types
&Vec<&str>
&Vec<String>
&Vec<bool>
&Vec<f32>
&Vec<f64>
&Vec<i128>
&Vec<i16>
&Vec<i32>
&Vec<i64>
&Vec<i8>
&Vec<isize>
&Vec<u128>
&Vec<u16>
&Vec<u32>
&Vec<u64>
&Vec<u8>
&Vec<usize>
&[&str]
&[String]
&[bool]
&[f32]
&[f64]
&[i128]
&[i16]
&[i32]
&[i64]
&[i8]
&[isize]
&[u128]
&[u16]
&[u32]
&[u64]
&[u8]
&[usize]
&str
Option<&String>
Option<&bool>
Option<&char>
Option<&f32>
Option<&f64>
Option<&i128>
Option<&i16>
Option<&i32>
Option<&i64>
Option<&i8>
Option<&isize>
Option<&str>
Option<&u128>
Option<&u16>
Option<&u32>
Option<&u64>
Option<&u8>
Option<&usize>
Option<String>
Option<bool>
Option<char>
Option<f32>
Option<f64>
Option<i128>
Option<i16>
Option<i32>
Option<i64>
Option<i8>
Option<isize>
Option<u128>
Option<u16>
Option<u32>
Option<u64>
Option<u8>
Option<usize>
String
Vec<&str>
Vec<String>
Vec<bool>
Vec<f32>
Vec<f64>
Vec<i128>
Vec<i16>
Vec<i32>
Vec<i64>
Vec<i8>
Vec<isize>
Vec<u128>
Vec<u16>
Vec<u32>
Vec<u64>
Vec<u8>
Vec<usize>
[&str]
[String]
[bool]
[f32]
[f64]
[i128]
[i16]
[i32]
[i64]
[i8]
[isize]
[u128]
[u16]
[u32]
[u64]
[u8]
[usize]
bool
char
f32
f64
i128
i16
i32
i64
i8
isize
u128
u16
u32
u64
u8
usize
Implementors
In sqlx_model
?
Trait
sqlx_model
::
SqlQuote
source
·
[
−
]
pub trait SqlQuote<OUT>
where
OUT:
Display
,
{ fn
sql_quote
(&self) -> OUT; }
Expand description
实现用于转义变量的trait
Required Methods
source
fn
sql_quote
(&self) -> OUT
Implementations on Foreign Types
source
impl
SqlQuote
<
i8
> for
i8
source
fn
sql_quote
(&self) ->
i8
source
impl
SqlQuote
<
i16
> for
i16
source
fn
sql_quote
(&self) ->
i16
source
impl
SqlQuote
<
i32
> for
i32
source
fn
sql_quote
(&self) ->
i32
source
impl
SqlQuote
<
i64
> for
i64
source
fn
sql_quote
(&self) ->
i64
source
impl
SqlQuote
<
i128
> for
i128
source
fn
sql_quote
(&self) ->
i128
source
impl
SqlQuote
<
u8
> for
u8
source
fn
sql_quote
(&self) ->
u8
source
impl
SqlQuote
<
u16
> for
u16
source
fn
sql_quote
(&self) ->
u16
source
impl
SqlQuote
<
u32
> for
u32
source
fn
sql_quote
(&self) ->
u32
source
impl
SqlQuote
<
u64
> for
u64
source
fn
sql_quote
(&self) ->
u64
source
impl
SqlQuote
<
u128
> for
u128
source
fn
sql_quote
(&self) ->
u128
source
impl
SqlQuote
<
f32
> for
f32
source
fn
sql_quote
(&self) ->
f32
source
impl
SqlQuote
<
f64
> for
f64
source
fn
sql_quote
(&self) ->
f64
source
impl
SqlQuote
<
usize
> for
usize
source
fn
sql_quote
(&self) ->
usize
source
impl
SqlQuote
<
isize
> for
isize
source
fn
sql_quote
(&self) ->
isize
source
impl
SqlQuote
<
String
> for
char
source
fn
sql_quote
(&self) ->
String
source
impl
SqlQuote
<
u8
> for
bool
source
fn
sql_quote
(&self) ->
u8
source
impl
SqlQuote
<
String
> for &
str
source
fn
sql_quote
(&self) ->
String
source
impl
SqlQuote
<
String
> for
String
source
fn
sql_quote
(&self) ->
String
source
impl
SqlQuote
<
String
> for
Option
<
i8
>
source
fn
sql_quote
(&self) ->
String
source
impl
SqlQuote
<
String
> for
Option
<
i16
>
source
fn
sql_quote
(&self) ->
String
source
impl
SqlQuote
<
String
> for
Option
<
i32
>
source
fn
sql_quote
(&self) ->
String
source
impl
SqlQuote
<
String
> for
Option
<
i64
>
source
fn
sql_quote
(&self) ->
String
source
impl
SqlQuote
<
String
> for
Option
<
i128
>
source
fn
sql_quote
(&self) ->
String
source
impl
SqlQuote
<
String
> for
Option
<
u8
>
source
fn
sql_quote
(&self) ->
String
source
impl
SqlQuote
<
String
> for
Option
<
u16
>
source
fn
sql_quote
(&self) ->
String
source
impl
SqlQuote
<
String
> for
Option
<
u32
>
source
fn
sql_quote
(&self) ->
String
source
impl
SqlQuote
<
String
> for
Option
<
u64
>
source
fn
sql_quote
(&self) ->
String
source
impl
SqlQuote
<
String
> for
Option
<
u128
>
source
fn
sql_quote
(&self) ->
String
source
impl
SqlQuote
<
String
> for
Option
<
f32
>
source
fn
sql_quote
(&self) ->
String
source
impl
SqlQuote
<
String
> for
Option
<
f64
>
source
fn
sql_quote
(&self) ->
String
source
impl
SqlQuote
<
String
> for
Option
<
usize
>
source
fn
sql_quote
(&self) ->
String
source
impl
SqlQuote
<
String
> for
Option
<
isize
>
source
fn
sql_quote
(&self) ->
String
source
impl
SqlQuote
<
String
> for
Option
<
bool
>
source
fn
sql_quote
(&self) ->
String
source
impl
SqlQuote
<
String
> for
Option
<
char
>
source
fn
sql_quote
(&self) ->
String
source
impl
SqlQuote
<
String
> for
Option
<
String
>
source
fn
sql_quote
(&self) ->
String
source
impl
SqlQuote
<
String
> for
Option
<&
i8
>
source
fn
sql_quote
(&self) ->
String
source
impl
SqlQuote
<
String
> for
Option
<&
i16
>
source
fn
sql_quote
(&self) ->
String
source
impl
SqlQuote
<
String
> for
Option
<&
i32
>
source
fn
sql_quote
(&self) ->
String
source
impl
SqlQuote
<
String
> for
Option
<&
i64
>
source
fn
sql_quote
(&self) ->
String
source
impl
SqlQuote
<
String
> for
Option
<&
i128
>
source
fn
sql_quote
(&self) ->
String
source
impl
SqlQuote
<
String
> for
Option
<&
u8
>
source
fn
sql_quote
(&self) ->
String
source
impl
SqlQuote
<
String
> for
Option
<&
u16
>
source
fn
sql_quote
(&self) ->
String
source
impl
SqlQuote
<
String
> for
Option
<&
u32
>
source
fn
sql_quote
(&self) ->
String
source
impl
SqlQuote
<
String
> for
Option
<&
u64
>
source
fn
sql_quote
(&self) ->
String
source
impl
SqlQuote
<
String
> for
Option
<&
u128
>
source
fn
sql_quote
(&self) ->
String
source
impl
SqlQuote
<
String
> for
Option
<&
f32
>
source
fn
sql_quote
(&self) ->
String
source
impl
SqlQuote
<
String
> for
Option
<&
f64
>
source
fn
sql_quote
(&self) ->
String
source
impl
SqlQuote
<
String
> for
Option
<&
usize
>
source
fn
sql_quote
(&self) ->
String
source
impl
SqlQuote
<
String
> for
Option
<&
isize
>
source
fn
sql_quote
(&self) ->
String
source
impl
SqlQuote
<
String
> for
Option
<&
bool
>
source
fn
sql_quote
(&self) ->
String
source
impl
SqlQuote
<
String
> for
Option
<&
char
>
source
fn
sql_quote
(&self) ->
String
source
impl
SqlQuote
<
String
> for
Option
<&
String
>
source
fn
sql_quote
(&self) ->
String
source
impl
SqlQuote
<
String
> for
Option
<&
str
>
source
fn
sql_quote
(&self) ->
String
source
impl
SqlQuote
<
String
> for
Vec
<
i8
>
source
fn
sql_quote
(&self) ->
String
source
impl
SqlQuote
<
String
> for &
Vec
<
i8
>
source
fn
sql_quote
(&self) ->
String
source
impl
SqlQuote
<
String
> for
[
i8
]
source
fn
sql_quote
(&self) ->
String
source
impl
SqlQuote
<
String
> for
&[
i8
]
source
fn
sql_quote
(&self) ->
String
source
impl
SqlQuote
<
String
> for
Vec
<
i16
>
source
fn
sql_quote
(&self) ->
String
source
impl
SqlQuote
<
String
> for &
Vec
<
i16
>
source
fn
sql_quote
(&self) ->
String
source
impl
SqlQuote
<
String
> for
[
i16
]
source
fn
sql_quote
(&self) ->
String
source
impl
SqlQuote
<
String
> for
&[
i16
]
source
fn
sql_quote
(&self) ->
String
source
impl
SqlQuote
<
String
> for
Vec
<
i32
>
source
fn
sql_quote
(&self) ->
String
source
impl
SqlQuote
<
String
> for &
Vec
<
i32
>
source
fn
sql_quote
(&self) ->
String
source
impl
SqlQuote
<
String
> for
[
i32
]
source
fn
sql_quote
(&self) ->
String
source
impl
SqlQuote
<
String
> for
&[
i32
]
source
fn
sql_quote
(&self) ->
String
source
impl
SqlQuote
<
String
> for
Vec
<
i64
>
source
fn
sql_quote
(&self) ->
String
source
impl
SqlQuote
<
String
> for &
Vec
<
i64
>
source
fn
sql_quote
(&self) ->
String
source
impl
SqlQuote
<
String
> for
[
i64
]
source
fn
sql_quote
(&self) ->
String
source
impl
SqlQuote
<
String
> for
&[
i64
]
source
fn
sql_quote
(&self) ->
String
source
impl
SqlQuote
<
String
> for
Vec
<
i128
>
source
fn
sql_quote
(&self) ->
String
source
impl
SqlQuote
<
String
> for &
Vec
<
i128
>
source
fn
sql_quote
(&self) ->
String
source
impl
SqlQuote
<
String
> for
[
i128
]
source
fn
sql_quote
(&self) ->
String
source
impl
SqlQuote
<
String
> for
&[
i128
]
source
fn
sql_quote
(&self) ->
String
source
impl
SqlQuote
<
String
> for
Vec
<
u8
>
source
fn
sql_quote
(&self) ->
String
source
impl
SqlQuote
<
String
> for &
Vec
<
u8
>
source
fn
sql_quote
(&self) ->
String
source
impl
SqlQuote
<
String
> for
[
u8
]
source
fn
sql_quote
(&self) ->
String
source
impl
SqlQuote
<
String
> for
&[
u8
]
source
fn
sql_quote
(&self) ->
String
source
impl
SqlQuote
<
String
> for
Vec
<
u16
>
source
fn
sql_quote
(&self) ->
String
source
impl
SqlQuote
<
String
> for &
Vec
<
u16
>
source
fn
sql_quote
(&self) ->
String
source
impl
SqlQuote
<
String
> for
[
u16
]
source
fn
sql_quote
(&self) ->
String
source
impl
SqlQuote
<
String
> for
&[
u16
]
source
fn
sql_quote
(&self) ->
String
source
impl
SqlQuote
<
String
> for
Vec
<
u32
>
source
fn
sql_quote
(&self) ->
String
source
impl
SqlQuote
<
String
> for &
Vec
<
u32
>
source
fn
sql_quote
(&self) ->
String
source
impl
SqlQuote
<
String
> for
[
u32
]
source
fn
sql_quote
(&self) ->
String
source
impl
SqlQuote
<
String
> for
&[
u32
]
source
fn
sql_quote
(&self) ->
String
source
impl
SqlQuote
<
String
> for
Vec
<
u64
>
source
fn
sql_quote
(&self) ->
String
source
impl
SqlQuote
<
String
> for &
Vec
<
u64
>
source
fn
sql_quote
(&self) ->
String
source
impl
SqlQuote
<
String
> for
[
u64
]
source
fn
sql_quote
(&self) ->
String
source
impl
SqlQuote
<
String
> for
&[
u64
]
source
fn
sql_quote
(&self) ->
String
source
impl
SqlQuote
<
String
> for
Vec
<
u128
>
source
fn
sql_quote
(&self) ->
String
source
impl
SqlQuote
<
String
> for &
Vec
<
u128
>
source
fn
sql_quote
(&self) ->
String
source
impl
SqlQuote
<
String
> for
[
u128
]
source
fn
sql_quote
(&self) ->
String
source
impl
SqlQuote
<
String
> for
&[
u128
]
source
fn
sql_quote
(&self) ->
String
source
impl
SqlQuote
<
String
> for
Vec
<
f32
>
source
fn
sql_quote
(&self) ->
String
source
impl
SqlQuote
<
String
> for &
Vec
<
f32
>
source
fn
sql_quote
(&self) ->
String
source
impl
SqlQuote
<
String
> for
[
f32
]
source
fn
sql_quote
(&self) ->
String
source
impl
SqlQuote
<
String
> for
&[
f32
]
source
fn
sql_quote
(&self) ->
String
source
impl
SqlQuote
<
String
> for
Vec
<
f64
>
source
fn
sql_quote
(&self) ->
String
source
impl
SqlQuote
<
String
> for &
Vec
<
f64
>
source
fn
sql_quote
(&self) ->
String
source
impl
SqlQuote
<
String
> for
[
f64
]
source
fn
sql_quote
(&self) ->
String
source
impl
SqlQuote
<
String
> for
&[
f64
]
source
fn
sql_quote
(&self) ->
String
source
impl
SqlQuote
<
String
> for
Vec
<
usize
>
source
fn
sql_quote
(&self) ->
String
source
impl
SqlQuote
<
String
> for &
Vec
<
usize
>
source
fn
sql_quote
(&self) ->
String
source
impl
SqlQuote
<
String
> for
[
usize
]
source
fn
sql_quote
(&self) ->
String
source
impl
SqlQuote
<
String
> for
&[
usize
]
source
fn
sql_quote
(&self) ->
String
source
impl
SqlQuote
<
String
> for
Vec
<
isize
>
source
fn
sql_quote
(&self) ->
String
source
impl
SqlQuote
<
String
> for &
Vec
<
isize
>
source
fn
sql_quote
(&self) ->
String
source
impl
SqlQuote
<
String
> for
[
isize
]
source
fn
sql_quote
(&self) ->
String
source
impl
SqlQuote
<
String
> for
&[
isize
]
source
fn
sql_quote
(&self) ->
String
source
impl
SqlQuote
<
String
> for
Vec
<
bool
>
source
fn
sql_quote
(&self) ->
String
source
impl
SqlQuote
<
String
> for &
Vec
<
bool
>
source
fn
sql_quote
(&self) ->
String
source
impl
SqlQuote
<
String
> for
[
bool
]
source
fn
sql_quote
(&self) ->
String
source
impl
SqlQuote
<
String
> for
&[
bool
]
source
fn
sql_quote
(&self) ->
String
source
impl
SqlQuote
<
String
> for
Vec
<&
str
>
source
fn
sql_quote
(&self) ->
String
source
impl
SqlQuote
<
String
> for &
Vec
<&
str
>
source
fn
sql_quote
(&self) ->
String
source
impl
SqlQuote
<
String
> for
[
&
str
]
source
fn
sql_quote
(&self) ->
String
source
impl
SqlQuote
<
String
> for
&[
&
str
]
source
fn
sql_quote
(&self) ->
String
source
impl
SqlQuote
<
String
> for
Vec
<
String
>
source
fn
sql_quote
(&self) ->
String
source
impl
SqlQuote
<
String
> for &
Vec
<
String
>
source
fn
sql_quote
(&self) ->
String
source
impl
SqlQuote
<
String
> for
[
String
]
source
fn
sql_quote
(&self) ->
String
source
impl
SqlQuote
<
String
> for
&[
String
]
source
fn
sql_quote
(&self) ->
String
Implementors
source
impl
SqlQuote
<
String
> for
TableName
source
impl<T:
Display
>
SqlQuote
<
String
> for
SqlExpr
<T>