pub struct Sqlite3Query<'a> {
pub method: HttpMethod,
pub table_schema: &'a SqlTableSchema,
pub fields_data: HashMap<String, String>,
pub filter: HashMap<String, String>,
}
Fields§
§method: HttpMethod
§table_schema: &'a SqlTableSchema
§fields_data: HashMap<String, String>
§filter: HashMap<String, String>
Trait Implementations§
Source§impl<'a> Query<'a, &'a Connection, Result<Cursor<'a>, Error>> for Sqlite3Query<'a>
impl<'a> Query<'a, &'a Connection, Result<Cursor<'a>, Error>> for Sqlite3Query<'a>
fn from_request<'life0, 'async_trait>(
request: &'life0 mut Request<Body>,
table: &'a SqlTableSchema,
) -> Pin<Box<dyn Future<Output = Result<Self, QueryErr>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
fn execute_sql(&'a self, connection: &'a Connection) -> SqlResult<Cursor<'a>>
Auto Trait Implementations§
impl<'a> Freeze for Sqlite3Query<'a>
impl<'a> RefUnwindSafe for Sqlite3Query<'a>
impl<'a> Send for Sqlite3Query<'a>
impl<'a> Sync for Sqlite3Query<'a>
impl<'a> Unpin for Sqlite3Query<'a>
impl<'a> UnwindSafe for Sqlite3Query<'a>
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