diff --git a/src/lib.rs b/src/lib.rs index 0623bee..007a736 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -105,7 +105,7 @@ impl Client { Ok(account) } - /// + /// Return statements for account in from to time range pub async fn statements( &self, args: T, diff --git a/src/models/account/mod.rs b/src/models/account/mod.rs index 65cb3c9..6dc60bb 100644 --- a/src/models/account/mod.rs +++ b/src/models/account/mod.rs @@ -20,7 +20,7 @@ pub struct Account { #[serde(rename = "accounts")] cards: Vec, - jars: Vec, + jars: Option>, } /// getters block @@ -58,7 +58,7 @@ impl Account { self.cards.clone() } - pub fn jars(&self) -> Vec { + pub fn jars(&self) -> Option> { self.jars.clone() } }