[−][src]Struct deslite::Stmt
Fields
stmt: *mut sqlite3_stmt
Methods
impl<'con> Stmt<'con>
[src]
pub fn init(con: &'con SqliteCon) -> Self
[src]
pub fn prepare(&mut self, sql: &str) -> Result<&mut Self, Error>
[src]
pub fn bind_values<T>(&mut self, params: &Vec<T>) -> Result<(), Error> where
T: Clone,
Value: From<T>,
[src]
T: Clone,
Value: From<T>,
pub fn bind<T>(&mut self, param: T, index: i32) -> Result<(), Error> where
Value: From<T>,
[src]
Value: From<T>,
pub fn step(&self) -> Result<c_int, Error>
[src]
pub fn execute(&self) -> Result<(), Error>
[src]
pub fn get_rows(self) -> Rows<'con>
[src]
pub fn get_row(&'con self) -> Result<Row<'con>, Error>
[src]
pub fn reset(&self)
[src]
pub fn clear_bindings(&mut self)
[src]
pub fn colum_count(&self) -> usize
[src]
pub fn colum_name(&self, index: usize) -> &str
[src]
pub fn colum_index(&self, key: &str) -> Result<usize, Error>
[src]
pub fn colum_type(&self, index: usize) -> Result<SqliteTypes, Error>
[src]
pub fn get_double(&self, index: usize) -> Value
[src]
pub fn get_int32(&self, index: usize) -> Value
[src]
pub fn get_int64(&self, index: usize) -> Value
[src]
pub fn get_blob(&self, index: usize) -> Value
[src]
pub fn get_text(&self, index: usize) -> Value
[src]
Trait Implementations
Auto Trait Implementations
Blanket Implementations
impl<T, U> Into for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From for T
[src]
impl<T, U> TryFrom for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T> Borrow for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,