pub struct ExecuteBuilder<PORTAL = ZTString<'static>, MAX_ROWS = i32>{
pub portal: PORTAL,
pub max_rows: MAX_ROWS,
}Fields§
§portal: PORTALThe name of the portal to execute.
max_rows: MAX_ROWSMaximum number of rows to return.
Trait Implementations§
Source§impl<PORTAL, MAX_ROWS> BuilderFor for ExecuteBuilder<PORTAL, MAX_ROWS>
impl<PORTAL, MAX_ROWS> BuilderFor for ExecuteBuilder<PORTAL, MAX_ROWS>
Source§impl<PORTAL, MAX_ROWS> Debug for ExecuteBuilder<PORTAL, MAX_ROWS>
impl<PORTAL, MAX_ROWS> Debug for ExecuteBuilder<PORTAL, MAX_ROWS>
Source§impl<PORTAL, MAX_ROWS> Default for ExecuteBuilder<PORTAL, MAX_ROWS>
impl<PORTAL, MAX_ROWS> Default for ExecuteBuilder<PORTAL, MAX_ROWS>
Source§fn default() -> ExecuteBuilder<PORTAL, MAX_ROWS>
fn default() -> ExecuteBuilder<PORTAL, MAX_ROWS>
Returns the “default value” for a type. Read more
Source§impl<PORTAL, MAX_ROWS> EncoderFor<Execute<'static>> for &ExecuteBuilder<PORTAL, MAX_ROWS>
impl<PORTAL, MAX_ROWS> EncoderFor<Execute<'static>> for &ExecuteBuilder<PORTAL, MAX_ROWS>
fn encode_for(&self, buf: &mut BufWriter<'_>)
Source§impl<PORTAL, MAX_ROWS> EncoderFor<Execute<'static>> for ExecuteBuilder<PORTAL, MAX_ROWS>
impl<PORTAL, MAX_ROWS> EncoderFor<Execute<'static>> for ExecuteBuilder<PORTAL, MAX_ROWS>
fn encode_for(&self, buf: &mut BufWriter<'_>)
Auto Trait Implementations§
impl<PORTAL, MAX_ROWS> Freeze for ExecuteBuilder<PORTAL, MAX_ROWS>
impl<PORTAL, MAX_ROWS> RefUnwindSafe for ExecuteBuilder<PORTAL, MAX_ROWS>where
PORTAL: RefUnwindSafe,
MAX_ROWS: RefUnwindSafe,
impl<PORTAL, MAX_ROWS> Send for ExecuteBuilder<PORTAL, MAX_ROWS>
impl<PORTAL, MAX_ROWS> Sync for ExecuteBuilder<PORTAL, MAX_ROWS>
impl<PORTAL, MAX_ROWS> Unpin for ExecuteBuilder<PORTAL, MAX_ROWS>
impl<PORTAL, MAX_ROWS> UnwindSafe for ExecuteBuilder<PORTAL, MAX_ROWS>where
PORTAL: UnwindSafe,
MAX_ROWS: UnwindSafe,
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
Source§impl<T> EncoderForExt for Twhere
T: ?Sized,
impl<T> EncoderForExt for Twhere
T: ?Sized,
Source§fn to_vec<F>(&self) -> Vec<u8> ⓘwhere
F: 'static,
Self: EncoderFor<F>,
fn to_vec<F>(&self) -> Vec<u8> ⓘwhere
F: 'static,
Self: EncoderFor<F>,
Convert this builder into a vector of bytes. This is generally
not the most efficient way to perform serialization.
Source§fn encode_buffer<F>(&self, buf: &mut [u8]) -> Result<usize, usize>where
F: 'static,
Self: EncoderFor<F>,
fn encode_buffer<F>(&self, buf: &mut [u8]) -> Result<usize, usize>where
F: 'static,
Self: EncoderFor<F>,
Encode this builder into a given buffer. If the buffer is
too small, the function will return the number of bytes
required to encode the builder.
Source§fn encode_buffer_uninit<'a, F>(
&self,
buf: &'a mut [MaybeUninit<u8>],
) -> Result<&'a mut [u8], usize>where
F: 'static,
Self: EncoderFor<F>,
fn encode_buffer_uninit<'a, F>(
&self,
buf: &'a mut [MaybeUninit<u8>],
) -> Result<&'a mut [u8], usize>where
F: 'static,
Self: EncoderFor<F>,
Encode this builder into a given buffer. If the buffer is
too small, the function will return the number of bytes
required to encode the builder.