pub struct TSExecuteBatchStatementReq {
pub session_id: i64,
pub statements: Vec<String>,
}
Fields§
§session_id: i64
§statements: Vec<String>
Implementations§
Source§impl TSExecuteBatchStatementReq
impl TSExecuteBatchStatementReq
pub fn new( session_id: i64, statements: Vec<String>, ) -> TSExecuteBatchStatementReq
pub fn read_from_in_protocol( i_prot: &mut dyn TInputProtocol, ) -> Result<TSExecuteBatchStatementReq>
pub fn write_to_out_protocol( &self, o_prot: &mut dyn TOutputProtocol, ) -> Result<()>
Trait Implementations§
Source§impl Clone for TSExecuteBatchStatementReq
impl Clone for TSExecuteBatchStatementReq
Source§fn clone(&self) -> TSExecuteBatchStatementReq
fn clone(&self) -> TSExecuteBatchStatementReq
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 TSExecuteBatchStatementReq
impl Debug for TSExecuteBatchStatementReq
Source§impl Hash for TSExecuteBatchStatementReq
impl Hash for TSExecuteBatchStatementReq
Source§impl Ord for TSExecuteBatchStatementReq
impl Ord for TSExecuteBatchStatementReq
Source§fn cmp(&self, other: &TSExecuteBatchStatementReq) -> Ordering
fn cmp(&self, other: &TSExecuteBatchStatementReq) -> 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 PartialOrd for TSExecuteBatchStatementReq
impl PartialOrd for TSExecuteBatchStatementReq
impl Eq for TSExecuteBatchStatementReq
impl StructuralPartialEq for TSExecuteBatchStatementReq
Auto Trait Implementations§
impl Freeze for TSExecuteBatchStatementReq
impl RefUnwindSafe for TSExecuteBatchStatementReq
impl Send for TSExecuteBatchStatementReq
impl Sync for TSExecuteBatchStatementReq
impl Unpin for TSExecuteBatchStatementReq
impl UnwindSafe for TSExecuteBatchStatementReq
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