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