pub struct Bind {
pub portal: String,
pub statement: String,
pub parameter_formats: Vec<Format>,
pub parameter_values: Vec<Option<Vec<u8>>>,
pub result_formats: Vec<Format>,
}Expand description
(F) Extended Query.
Fields§
§portal: StringThe name of the destination portal (an empty string selects the unnamed portal).
statement: StringThe name of the source prepared statement (an empty string selects the unnamed prepared statement).
parameter_formats: Vec<Format>Format for parameters
parameter_values: Vec<Option<Vec<u8>>>Raw values for parameters
result_formats: Vec<Format>Format for results
Implementations§
Source§impl Bind
impl Bind
pub fn to_bind_values( &self, description: &ParameterDescription, ) -> Result<Vec<BindValue>, ProtocolError>
Trait Implementations§
Source§impl Deserialize for Bind
impl Deserialize for Bind
impl StructuralPartialEq for Bind
Auto Trait Implementations§
impl Freeze for Bind
impl RefUnwindSafe for Bind
impl Send for Bind
impl Sync for Bind
impl Unpin for Bind
impl UnsafeUnpin for Bind
impl UnwindSafe for Bind
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