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