From 95f21952151713e8cd1b32b855c9d2e91fbed80d Mon Sep 17 00:00:00 2001 From: Tait Hoyem Date: Sun, 4 Dec 2022 16:44:05 -0700 Subject: [PATCH] storage from String to i32 --- src/responses.rs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/responses.rs b/src/responses.rs index 083b558..a7d8238 100644 --- a/src/responses.rs +++ b/src/responses.rs @@ -627,8 +627,9 @@ pub struct EmailUsageResponse { #[serde_as(as="DisplayFromStr")] /// The number of domains being used by the account. domains: i32, - /// Usage of email in GB, this should be an i32. - storage: String, + #[serde_as(as="DisplayFromStr")] + /// Usage of email in bytes. + storage: i32, /// Usage of email in GB with GB appended to the end of the string, storage_nice: String, #[serde_as(as="DisplayFromStr")]