pub struct VultrAccountDTO {
pub name: Option<String>,
pub email: Option<String>,
pub acls: Option<Vec<String>>,
pub balance: Option<f32>,
pub pending_charges: Option<f32>,
pub last_payment_date: Option<String>,
pub last_payment_amount: Option<f32>,
}
Fields§
§name: Option<String>
Your user name.
email: Option<String>
Your email address.
acls: Option<Vec<String>>
An array of permission granted. * manage\_users * subscriptions_view * subscriptions * billing * support * provisioning * dns * abuse * upgrade * firewall * alerts * objstore * loadbalancer
balance: Option<f32>
Your current account balance.
pending_charges: Option<f32>
Unbilled charges for this month.
last_payment_date: Option<String>
Date of your last payment.
last_payment_amount: Option<f32>
The amount of your last payment.
Trait Implementations§
Source§impl Clone for VultrAccountDTO
impl Clone for VultrAccountDTO
Source§fn clone(&self) -> VultrAccountDTO
fn clone(&self) -> VultrAccountDTO
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for VultrAccountDTO
impl Debug for VultrAccountDTO
Source§impl Default for VultrAccountDTO
impl Default for VultrAccountDTO
Source§fn default() -> VultrAccountDTO
fn default() -> VultrAccountDTO
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for VultrAccountDTO
impl<'de> Deserialize<'de> for VultrAccountDTO
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for VultrAccountDTO
impl PartialEq for VultrAccountDTO
Source§impl Serialize for VultrAccountDTO
impl Serialize for VultrAccountDTO
impl StructuralPartialEq for VultrAccountDTO
Auto Trait Implementations§
impl Freeze for VultrAccountDTO
impl RefUnwindSafe for VultrAccountDTO
impl Send for VultrAccountDTO
impl Sync for VultrAccountDTO
impl Unpin for VultrAccountDTO
impl UnwindSafe for VultrAccountDTO
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more