pub struct Bind {
pub portal: Bytes,
pub statement: Bytes,
pub parameter_formats: Vec<i16>,
pub parameters: Vec<Option<Bytes>>,
pub result_formats: Vec<i16>,
}Expand description
Structured Bind message.
Fields§
§portal: BytesPortal name; empty denotes the unnamed portal.
statement: BytesPrepared-statement name referenced by the portal.
parameter_formats: Vec<i16>Parameter format codes using PostgreSQL’s zero/one/per-value cardinality rules.
parameters: Vec<Option<Bytes>>Parameter values, with None representing SQL NULL.
result_formats: Vec<i16>Requested result-column format codes.
Implementations§
Trait Implementations§
impl Eq 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<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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