pub struct Parse {
pub name: String,
pub query: String,
pub param_types: Vec<u32>,
}Expand description
(F) Extended Query. Contains a textual query string, optionally some information about data types of parameter placeholders, and the name of a destination prepared-statement object (an empty string selects the unnamed prepared statement)
The response is either ParseComplete or ErrorResponse.
Fields§
§name: StringThe name of the prepared statement. Empty string is used for unamed statements
query: StringSQL query with placeholders ($1)
param_types: Vec<u32>Trait Implementations§
Source§impl Deserialize for Parse
impl Deserialize for Parse
impl StructuralPartialEq for Parse
Auto Trait Implementations§
impl Freeze for Parse
impl RefUnwindSafe for Parse
impl Send for Parse
impl Sync for Parse
impl Unpin for Parse
impl UnsafeUnpin for Parse
impl UnwindSafe for Parse
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