pub struct ApiAccount {
pub status: Option<String>,
pub contact: Option<Vec<String>>,
pub external_account_binding: Option<String>,
pub terms_of_service_agreed: Option<bool>,
pub only_return_existing: Option<bool>,
pub orders: Option<String>,
}Expand description
Fields§
§status: Option<String>§contact: Option<Vec<String>>§external_account_binding: Option<String>§terms_of_service_agreed: Option<bool>§only_return_existing: Option<bool>§orders: Option<String>Implementations§
Source§impl ApiAccount
impl ApiAccount
pub fn is_status_valid(&self) -> bool
pub fn is_status_deactivated(&self) -> bool
pub fn is_status_revoked(&self) -> bool
pub fn terms_of_service_agreed(&self) -> bool
Trait Implementations§
Source§impl Clone for ApiAccount
impl Clone for ApiAccount
Source§fn clone(&self) -> ApiAccount
fn clone(&self) -> ApiAccount
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 ApiAccount
impl Debug for ApiAccount
Source§impl Default for ApiAccount
impl Default for ApiAccount
Source§fn default() -> ApiAccount
fn default() -> ApiAccount
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ApiAccount
impl<'de> Deserialize<'de> for ApiAccount
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 ApiAccount
impl PartialEq for ApiAccount
Source§impl Serialize for ApiAccount
impl Serialize for ApiAccount
impl Eq for ApiAccount
impl StructuralPartialEq for ApiAccount
Auto Trait Implementations§
impl Freeze for ApiAccount
impl RefUnwindSafe for ApiAccount
impl Send for ApiAccount
impl Sync for ApiAccount
impl Unpin for ApiAccount
impl UnwindSafe for ApiAccount
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.