mirror of
https://github.com/isar/rusqlite.git
synced 2025-02-01 19:50: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 ::Result;
|
||||
|
||||
/// ToSqlOutput represents the possible output types for implementors of the ToSql trait.
|
||||
pub enum ToSqlOutput<'a> {
|
||||
/// A borrowed SQLite-representable value.
|
||||
Borrowed(ValueRef<'a>),
|
||||
|
||||
/// An owned SQLite-representable value.
|
||||
Owned(Value),
|
||||
|
||||
/// A BLOB of the given length that is filled with zeroes.
|
||||
#[cfg(feature = "blob")]
|
||||
ZeroBlob(i32),
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user