Compare commits
1 Commits
2f36ba30f5
...
v0.7.3-nex
| Author | SHA1 | Date | |
|---|---|---|---|
| 44d08cdb1f |
@@ -12,7 +12,6 @@ pub struct LoginResult {
|
|||||||
pub expiration: i64,
|
pub expiration: i64,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
impl LoginResult {
|
impl LoginResult {
|
||||||
pub fn to_json(&self) -> Result<String, serde_json::Error> {
|
pub fn to_json(&self) -> Result<String, serde_json::Error> {
|
||||||
serde_json::to_string_pretty(&self)
|
serde_json::to_string_pretty(&self)
|
||||||
|
|||||||
Reference in New Issue
Block a user