pub struct AccountMembership {Show 16 fields
pub id: Option<String>,
pub name: Option<String>,
pub slug: Option<String>,
pub _type: Option<String>,
pub capabilities: Option<Box<AccountMembershipCapabilities>>,
pub billing_name: Option<String>,
pub billing_email: Option<String>,
pub billing_details: Option<String>,
pub billing_period: Option<String>,
pub payment_method_id: Option<String>,
pub type_name: Option<String>,
pub type_id: Option<String>,
pub owner_ids: Option<Vec<String>>,
pub roles_allowed: Option<Vec<String>>,
pub created_at: Option<String>,
pub updated_at: Option<String>,
}
Fields§
§id: Option<String>
§name: Option<String>
§slug: Option<String>
§_type: Option<String>
§capabilities: Option<Box<AccountMembershipCapabilities>>
§billing_name: Option<String>
§billing_email: Option<String>
§billing_details: Option<String>
§billing_period: Option<String>
§payment_method_id: Option<String>
§type_name: Option<String>
§type_id: Option<String>
§owner_ids: Option<Vec<String>>
§roles_allowed: Option<Vec<String>>
§created_at: Option<String>
§updated_at: Option<String>
Implementations§
Source§impl AccountMembership
impl AccountMembership
pub fn new() -> AccountMembership
Trait Implementations§
Source§impl Clone for AccountMembership
impl Clone for AccountMembership
Source§fn clone(&self) -> AccountMembership
fn clone(&self) -> AccountMembership
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 AccountMembership
impl Debug for AccountMembership
Source§impl<'de> Deserialize<'de> for AccountMembership
impl<'de> Deserialize<'de> for AccountMembership
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 AccountMembership
impl PartialEq for AccountMembership
Source§impl Serialize for AccountMembership
impl Serialize for AccountMembership
impl StructuralPartialEq for AccountMembership
Auto Trait Implementations§
impl Freeze for AccountMembership
impl RefUnwindSafe for AccountMembership
impl Send for AccountMembership
impl Sync for AccountMembership
impl Unpin for AccountMembership
impl UnwindSafe for AccountMembership
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