pub struct Statement {
pub name: String,
pub is_new: bool,
pub columns: Option<Vec<ColumnDesc>>,
}Expand description
A reference to a cached or new statement.
Fields§
§name: StringStatement name on the server.
is_new: boolWhether this was freshly parsed (needs Parse + Describe).
columns: Option<Vec<ColumnDesc>>Cached column descriptions (if previously executed).
Auto Trait Implementations§
impl Freeze for Statement
impl RefUnwindSafe for Statement
impl Send for Statement
impl Sync for Statement
impl Unpin for Statement
impl UnsafeUnpin for Statement
impl UnwindSafe for Statement
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