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