We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d3bb130 commit b9a81a9Copy full SHA for b9a81a9
2 files changed
Cargo.toml
@@ -18,8 +18,9 @@ path = "src/rust/lib.rs"
18
[dependencies]
19
hyper = "*"
20
mime = "*"
21
-rustc-serialize = "*"
22
yup-oauth2 = "*"
+serde = "*"
23
+serde_macros = "*"
24
25
[dev-dependencies]
26
yup-hyper-mock = "*"
src/rust/cmn.rs
@@ -45,8 +45,8 @@ impl<T: Seek + Read> ReadSeek for T {}
45
/// A utility type which can decode a server response that indicates error
46
#[derive(Deserialize)]
47
pub struct JsonServerError {
48
- error: String,
49
- error_description: Option<String>
+ pub error: String,
+ pub error_description: Option<String>
50
}
51
52
0 commit comments