pub struct TSExecuteStatementReq {
pub session_id: i64,
pub statement: String,
pub statement_id: i64,
pub fetch_size: Option<i32>,
}
Fields§
§session_id: i64
§statement: String
§statement_id: i64
§fetch_size: Option<i32>
Implementations§
Source§impl TSExecuteStatementReq
impl TSExecuteStatementReq
pub fn new<F4>( session_id: i64, statement: String, statement_id: i64, fetch_size: F4, ) -> TSExecuteStatementReq
pub fn read_from_in_protocol( i_prot: &mut dyn TInputProtocol, ) -> Result<TSExecuteStatementReq>
pub fn write_to_out_protocol( &self, o_prot: &mut dyn TOutputProtocol, ) -> Result<()>
Trait Implementations§
Source§impl Clone for TSExecuteStatementReq
impl Clone for TSExecuteStatementReq
Source§fn clone(&self) -> TSExecuteStatementReq
fn clone(&self) -> TSExecuteStatementReq
Returns a duplicate of the value. Read more
1.0.0 · 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 TSExecuteStatementReq
impl Debug for TSExecuteStatementReq
Source§impl Hash for TSExecuteStatementReq
impl Hash for TSExecuteStatementReq
Source§impl Ord for TSExecuteStatementReq
impl Ord for TSExecuteStatementReq
Source§fn cmp(&self, other: &TSExecuteStatementReq) -> Ordering
fn cmp(&self, other: &TSExecuteStatementReq) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for TSExecuteStatementReq
impl PartialEq for TSExecuteStatementReq
Source§impl PartialOrd for TSExecuteStatementReq
impl PartialOrd for TSExecuteStatementReq
impl Eq for TSExecuteStatementReq
impl StructuralPartialEq for TSExecuteStatementReq
Auto Trait Implementations§
impl Freeze for TSExecuteStatementReq
impl RefUnwindSafe for TSExecuteStatementReq
impl Send for TSExecuteStatementReq
impl Sync for TSExecuteStatementReq
impl Unpin for TSExecuteStatementReq
impl UnwindSafe for TSExecuteStatementReq
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