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