mirror of
https://git.proxmox.com/git/proxmox
synced 2025-05-17 08:24:09 +00:00
make AccountData fields public
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
This commit is contained in:
parent
aa23068293
commit
cbfeb58ce4
@ -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<String>,
|
||||
pub orders: Option<String>,
|
||||
|
||||
#[serde(skip_serializing_if = "Vec::is_empty", default)]
|
||||
contact: Vec<String>,
|
||||
pub contact: Vec<String>,
|
||||
|
||||
#[serde(skip_serializing_if = "Option::is_none")]
|
||||
terms_of_service_agreed: Option<bool>,
|
||||
pub terms_of_service_agreed: Option<bool>,
|
||||
|
||||
#[serde(skip_serializing_if = "Option::is_none")]
|
||||
external_account_binding: Option<Value>,
|
||||
pub external_account_binding: Option<Value>,
|
||||
|
||||
#[serde(default = "default_true", skip_serializing_if = "is_false")]
|
||||
only_return_existing: bool,
|
||||
pub only_return_existing: bool,
|
||||
}
|
||||
|
||||
#[inline]
|
||||
|
Loading…
Reference in New Issue
Block a user