Repository: driftluo/InfluxDBClient-rs (language: rust)

Issue:
escape slash quote
if field value contain `\"` it will fail with error `SyntaxError("{error:unable to parse...`

Solution can be:
```rust
point.add_field("message", InflValue::String(message.replace("\\\"", "\\\\\"")));
```


Discussion / hints:
when I test on influxdb-1.0.2:
```rust
point1.add_field("quote", Value::String("\"fda".to_string()));
```
It works well, which version are you using?@Paxa

I use 1.3.5

Just quote works well, but backslash + quote doesn't. Try:
```rust
point1.add_field("quote", Value::String("\\\"fda".to_string())); // value is \"fda
```
Ok,  I know, I'll fix this bug right away, thank you

Fix patch:
diff --git a/Cargo.toml b/Cargo.toml
index 0d96a92..e56a500 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -1,6 +1,6 @@
 [package]
 name = "influx_db_client"
-version = "0.3.0"
+version = "0.3.1"
 authors = ["piaoliu <441594700@qq.com>"]
 documentation = "https://docs.rs/influx_db_client/"
 repository = "https://github.com/driftluo/InfluxDBClient-rs"
diff --git a/README.md b/README.md
index 8d3cbfa..32f3270 100644
--- a/README.md
+++ b/README.md
@@ -18,7 +18,7 @@ This project has been able to run properly, PR is welcome.
 
 ```
 [dependencies]
-influx_db_client = "^0.3.0"
+influx_db_client = "^0.3.1"
 
 [patch.crates-io]
 influx_db_client = { git = 'https://github.com/driftluo/InfluxDBClient-rs' }
diff --git a/src/serialization.rs b/src/serialization.rs
index 5e84696..6906cb8 100644
--- a/src/serialization.rs
+++ b/src/serialization.rs
@@ -32,7 +32,7 @@ pub(crate) fn line_serialization(points: Points) -> String {
             line.push("=".to_string());
 
             match value {
-                Value::String(s) => line.push(escape_string_field_value( s.to_string())),
+                Value::String(s) => line.push(escape_string_field_value( s.to_string().replace("\\\"", "\\\\\""))),
                 Value::Float(f) => line.push(f.to_string()),
                 Value::Integer(i) => line.push(i.to_string() + "i"),
                 Value::Boolean(b) => line.push({ if b { "true".to_string() } else { "false".to_string() } })


Test patch:
diff --git a/tests/client_test.rs b/tests/client_test.rs
index a94f5f9..868966e 100644
--- a/tests/client_test.rs
+++ b/tests/client_test.rs
@@ -6,7 +6,6 @@ use influx_db_client::{ Client, UdpClient, Point, Points, Precision, Value, TLSO
 use native_tls::{ TlsConnector, Certificate };
 use std::thread::sleep;
 use std::time::Duration;
-use std::collections::HashMap;
 use std::io::Read;
 use std::fs::File;