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