diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 0000000..319f99e --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1,5 @@ +{ + "cSpell.words": [ + "Monzo" + ] +} \ No newline at end of file diff --git a/src/endpoints/auth.rs b/src/endpoints/auth.rs index 7e16364..a65bf5c 100644 --- a/src/endpoints/auth.rs +++ b/src/endpoints/auth.rs @@ -27,7 +27,7 @@ mod refresh { pub refresh_token: String, /// The token type. currently the only supported token type is - /// "bearer_auth" + /// `bearer_auth` #[serde(rename = "token_type")] pub _token_type: String, diff --git a/src/endpoints/transactions.rs b/src/endpoints/transactions.rs index 42ebbc7..76bfa8f 100644 --- a/src/endpoints/transactions.rs +++ b/src/endpoints/transactions.rs @@ -71,11 +71,12 @@ pub struct Transaction { pub decline_reason: Option, /// Top-ups to an account are represented as transactions with a positive - /// amount and is_load = true. Other transactions such as refunds, reversals - /// or chargebacks may have a positive amount but is_load = false + /// amount and `is_load` = true. Other transactions such as refunds, + /// reversals or chargebacks may have a positive amount but `is_load` = + /// false pub is_load: bool, - /// The timestamp at wich the transaction was settled + /// The timestamp at which the transaction was settled /// /// This is `None` if the transaction is authorised, but not yet complete. #[serde(deserialize_with = "empty_string_as_none")]