Struct iotdb::rpc::TSCreateTimeseriesReq [−][src]
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: i64path: Stringdata_type: i32encoding: i32compressor: i32props: Option<BTreeMap<String, String>>attributes: Option<BTreeMap<String, String>>measurement_alias: Option<String>Implementations
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 where
F6: Into<Option<BTreeMap<String, String>>>,
F7: Into<Option<BTreeMap<String, String>>>,
F8: Into<Option<BTreeMap<String, String>>>,
F9: Into<Option<String>>,
pub fn read_from_in_protocol(
i_prot: &mut dyn TInputProtocol
) -> Result<TSCreateTimeseriesReq>
Trait Implementations
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.
This method returns an ordering between self and other values if one exists. Read more
This method tests less than (for self and other) and is used by the < operator. Read more
This method tests less than or equal to (for self and other) and is used by the <=
operator. Read more
This method tests greater than (for self and other) and is used by the > operator. Read more
Auto Trait Implementations
impl RefUnwindSafe for TSCreateTimeseriesReq
impl Send for TSCreateTimeseriesReq
impl Sync for TSCreateTimeseriesReq
impl Unpin for TSCreateTimeseriesReq
impl UnwindSafe for TSCreateTimeseriesReq
Blanket Implementations
Mutably borrows from an owned value. Read more