pub struct TSInsertRecordsOfOneDeviceReq {
pub session_id: i64,
pub device_id: String,
pub measurements_list: Vec<Vec<String>>,
pub values_list: Vec<Vec<u8>>,
pub timestamps: Vec<i64>,
}
Fields§
§session_id: i64
§device_id: String
§measurements_list: Vec<Vec<String>>
§values_list: Vec<Vec<u8>>
§timestamps: Vec<i64>
Implementations§
Source§impl TSInsertRecordsOfOneDeviceReq
impl TSInsertRecordsOfOneDeviceReq
pub fn new( session_id: i64, device_id: String, measurements_list: Vec<Vec<String>>, values_list: Vec<Vec<u8>>, timestamps: Vec<i64>, ) -> TSInsertRecordsOfOneDeviceReq
pub fn read_from_in_protocol( i_prot: &mut dyn TInputProtocol, ) -> Result<TSInsertRecordsOfOneDeviceReq>
pub fn write_to_out_protocol( &self, o_prot: &mut dyn TOutputProtocol, ) -> Result<()>
Trait Implementations§
Source§impl Clone for TSInsertRecordsOfOneDeviceReq
impl Clone for TSInsertRecordsOfOneDeviceReq
Source§fn clone(&self) -> TSInsertRecordsOfOneDeviceReq
fn clone(&self) -> TSInsertRecordsOfOneDeviceReq
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 Hash for TSInsertRecordsOfOneDeviceReq
impl Hash for TSInsertRecordsOfOneDeviceReq
Source§impl Ord for TSInsertRecordsOfOneDeviceReq
impl Ord for TSInsertRecordsOfOneDeviceReq
Source§fn cmp(&self, other: &TSInsertRecordsOfOneDeviceReq) -> Ordering
fn cmp(&self, other: &TSInsertRecordsOfOneDeviceReq) -> 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 TSInsertRecordsOfOneDeviceReq
impl PartialEq for TSInsertRecordsOfOneDeviceReq
Source§fn eq(&self, other: &TSInsertRecordsOfOneDeviceReq) -> bool
fn eq(&self, other: &TSInsertRecordsOfOneDeviceReq) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.Source§impl PartialOrd for TSInsertRecordsOfOneDeviceReq
impl PartialOrd for TSInsertRecordsOfOneDeviceReq
impl Eq for TSInsertRecordsOfOneDeviceReq
impl StructuralPartialEq for TSInsertRecordsOfOneDeviceReq
Auto Trait Implementations§
impl Freeze for TSInsertRecordsOfOneDeviceReq
impl RefUnwindSafe for TSInsertRecordsOfOneDeviceReq
impl Send for TSInsertRecordsOfOneDeviceReq
impl Sync for TSInsertRecordsOfOneDeviceReq
impl Unpin for TSInsertRecordsOfOneDeviceReq
impl UnwindSafe for TSInsertRecordsOfOneDeviceReq
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