[−][src]Crate influxdb_line_protocol
Rust implementation of InfluxDB's line protocol
Example
use influxdb_line_protocol::FieldValue; print!( "{}", influxdb_line_protocol::to_string( "myMeasurement", vec![("tag1", "value1"), ("tag2", "value2")], vec![("fieldKey", FieldValue::String("fieldValue"))], Some(1556813561098000000), ) .unwrap() );
Enums
Error | |
FieldValue |
Functions
to_string | |
to_writer |