mirror of
https://github.com/isar/rusqlite.git
synced 2025-02-01 21:30:51 +08:00
Add doc comments to ToSqlOutput.
This commit is contained in:
parent
2b830fde2d
commit
9a6e17b478
@ -1,10 +1,15 @@
|
|||||||
use super::{Null, Value, ValueRef};
|
use super::{Null, Value, ValueRef};
|
||||||
use ::Result;
|
use ::Result;
|
||||||
|
|
||||||
|
/// ToSqlOutput represents the possible output types for implementors of the ToSql trait.
|
||||||
pub enum ToSqlOutput<'a> {
|
pub enum ToSqlOutput<'a> {
|
||||||
|
/// A borrowed SQLite-representable value.
|
||||||
Borrowed(ValueRef<'a>),
|
Borrowed(ValueRef<'a>),
|
||||||
|
|
||||||
|
/// An owned SQLite-representable value.
|
||||||
Owned(Value),
|
Owned(Value),
|
||||||
|
|
||||||
|
/// A BLOB of the given length that is filled with zeroes.
|
||||||
#[cfg(feature = "blob")]
|
#[cfg(feature = "blob")]
|
||||||
ZeroBlob(i32),
|
ZeroBlob(i32),
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user