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