From cbfeb58ce46f4964d90344882e50d15de3d579c3 Mon Sep 17 00:00:00 2001 From: Wolfgang Bumiller Date: Tue, 9 Mar 2021 13:22:52 +0100 Subject: [PATCH] make AccountData fields public Signed-off-by: Wolfgang Bumiller --- src/account.rs | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/account.rs b/src/account.rs index 57c2246..747f22e 100644 --- a/src/account.rs +++ b/src/account.rs @@ -161,22 +161,22 @@ pub struct AccountData { skip_serializing_if = "AccountStatus::is_new", default = "AccountStatus::new" )] - status: AccountStatus, + pub status: AccountStatus, #[serde(skip_serializing_if = "Option::is_none")] - orders: Option, + pub orders: Option, #[serde(skip_serializing_if = "Vec::is_empty", default)] - contact: Vec, + pub contact: Vec, #[serde(skip_serializing_if = "Option::is_none")] - terms_of_service_agreed: Option, + pub terms_of_service_agreed: Option, #[serde(skip_serializing_if = "Option::is_none")] - external_account_binding: Option, + pub external_account_binding: Option, #[serde(default = "default_true", skip_serializing_if = "is_false")] - only_return_existing: bool, + pub only_return_existing: bool, } #[inline] -- 2.39.5