pub struct PrepareStatement {
pub name: Identifier,
pub parameter_types: Vec<DataType>,
pub statement: Expression,
}Expand description
PREPARE statement (PostgreSQL/generic prepared statement definition) Syntax: PREPARE name [(type, …)] AS statement
Fields§
§name: IdentifierThe prepared statement name.
parameter_types: Vec<DataType>Optional PostgreSQL parameter type list.
statement: ExpressionThe statement to execute when the prepared statement is invoked.
Trait Implementations§
Source§impl Clone for PrepareStatement
impl Clone for PrepareStatement
Source§fn clone(&self) -> PrepareStatement
fn clone(&self) -> PrepareStatement
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PrepareStatement
impl Debug for PrepareStatement
Source§impl<'de> Deserialize<'de> for PrepareStatement
impl<'de> Deserialize<'de> for PrepareStatement
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for PrepareStatement
impl PartialEq for PrepareStatement
Source§fn eq(&self, other: &PrepareStatement) -> bool
fn eq(&self, other: &PrepareStatement) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for PrepareStatement
impl Serialize for PrepareStatement
impl StructuralPartialEq for PrepareStatement
Auto Trait Implementations§
impl Freeze for PrepareStatement
impl RefUnwindSafe for PrepareStatement
impl Send for PrepareStatement
impl Sync for PrepareStatement
impl Unpin for PrepareStatement
impl UnsafeUnpin for PrepareStatement
impl UnwindSafe for PrepareStatement
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