Struct easy_sqlite::RSQLConnection
source · pub struct RSQLConnection { /* private fields */ }
Implementations§
Trait Implementations§
source§impl Clone for RSQLConnection
impl Clone for RSQLConnection
source§fn clone(&self) -> RSQLConnection
fn clone(&self) -> RSQLConnection
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl IConnection for RSQLConnection
impl IConnection for RSQLConnection
source§impl IExecutor for RSQLConnection
impl IExecutor for RSQLConnection
fn get_one<T, F: FnMut(&Row<'_>) -> Result<T>>( &self, query: &str, params: &[&dyn ToSql], serializer: F ) -> DbResult<T>
fn get_many<T, F: FnMut(&Row<'_>) -> Result<T>>( &self, query: &str, params: &[&dyn ToSql], serializer: F ) -> DbResult<Vec<T>>
fn execute(&self, query: &str, params: &[&dyn ToSql]) -> DbResult<()>
fn execute_return_id(&self, query: &str, params: &[&dyn ToSql]) -> DbResult<i64>
Auto Trait Implementations§
impl !RefUnwindSafe for RSQLConnection
impl !Send for RSQLConnection
impl !Sync for RSQLConnection
impl Unpin for RSQLConnection
impl !UnwindSafe for RSQLConnection
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more