pub struct Query {
pub name: String,
pub body: Box<dyn QueryBody>,
pub res_count: QueryResCount,
pub res_name: Option<String>,
}Expand description
This represents an SQL query. A function will be generated which accepts a db
connection and query parameters, and returns the query results. Call the
new_* functions to get a builder.
Fields§
§name: String§body: Box<dyn QueryBody>§res_count: QueryResCount§res_name: Option<String>Auto Trait Implementations§
impl Freeze for Query
impl !RefUnwindSafe for Query
impl !Send for Query
impl !Sync for Query
impl Unpin for Query
impl !UnwindSafe for Query
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