pub struct Account { /* private fields */ }
Expand description
The user account.
Implementations§
Source§impl Account
impl Account
Sourcepub fn droplet_limit(&self) -> &usize
pub fn droplet_limit(&self) -> &usize
The total number of droplets the user may have.
Sourcepub fn floating_ip_limit(&self) -> &usize
pub fn floating_ip_limit(&self) -> &usize
The total number of floating IPs the user may have.
Sourcepub fn email_verified(&self) -> &bool
pub fn email_verified(&self) -> &bool
If true, the user has verified their account via email. False otherwise.
Sourcepub fn status_message(&self) -> &String
pub fn status_message(&self) -> &String
A human-readable message giving more details about the status of the account.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Account
impl<'de> Deserialize<'de> for Account
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
Auto Trait Implementations§
impl Freeze for Account
impl RefUnwindSafe for Account
impl Send for Account
impl Sync for Account
impl Unpin for Account
impl UnwindSafe for Account
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