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