pub struct TSCreateTimeseriesReq {
pub session_id: i64,
pub path: String,
pub data_type: i32,
pub encoding: i32,
pub compressor: i32,
pub props: Option<BTreeMap<String, String>>,
pub tags: Option<BTreeMap<String, String>>,
pub attributes: Option<BTreeMap<String, String>>,
pub measurement_alias: Option<String>,
}
Fields§
§session_id: i64
§path: String
§data_type: i32
§encoding: i32
§compressor: i32
§props: Option<BTreeMap<String, String>>
§attributes: Option<BTreeMap<String, String>>
§measurement_alias: Option<String>
Implementations§
Source§impl TSCreateTimeseriesReq
impl TSCreateTimeseriesReq
pub fn new<F6, F7, F8, F9>( session_id: i64, path: String, data_type: i32, encoding: i32, compressor: i32, props: F6, tags: F7, attributes: F8, measurement_alias: F9, ) -> TSCreateTimeseriesReq
pub fn read_from_in_protocol( i_prot: &mut dyn TInputProtocol, ) -> Result<TSCreateTimeseriesReq>
pub fn write_to_out_protocol( &self, o_prot: &mut dyn TOutputProtocol, ) -> Result<()>
Trait Implementations§
Source§impl Clone for TSCreateTimeseriesReq
impl Clone for TSCreateTimeseriesReq
Source§fn clone(&self) -> TSCreateTimeseriesReq
fn clone(&self) -> TSCreateTimeseriesReq
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 TSCreateTimeseriesReq
impl Debug for TSCreateTimeseriesReq
Source§impl Hash for TSCreateTimeseriesReq
impl Hash for TSCreateTimeseriesReq
Source§impl Ord for TSCreateTimeseriesReq
impl Ord for TSCreateTimeseriesReq
Source§fn cmp(&self, other: &TSCreateTimeseriesReq) -> Ordering
fn cmp(&self, other: &TSCreateTimeseriesReq) -> 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 TSCreateTimeseriesReq
impl PartialEq for TSCreateTimeseriesReq
Source§impl PartialOrd for TSCreateTimeseriesReq
impl PartialOrd for TSCreateTimeseriesReq
impl Eq for TSCreateTimeseriesReq
impl StructuralPartialEq for TSCreateTimeseriesReq
Auto Trait Implementations§
impl Freeze for TSCreateTimeseriesReq
impl RefUnwindSafe for TSCreateTimeseriesReq
impl Send for TSCreateTimeseriesReq
impl Sync for TSCreateTimeseriesReq
impl Unpin for TSCreateTimeseriesReq
impl UnwindSafe for TSCreateTimeseriesReq
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