pub struct AccountSetup {
pub name: String,
pub type_id: String,
pub payment_method_id: Option<String>,
pub period: Option<Period>,
pub extra_seats_block: Option<i32>,
}
Fields§
§name: String
§type_id: String
§payment_method_id: Option<String>
§period: Option<Period>
§extra_seats_block: Option<i32>
Implementations§
Source§impl AccountSetup
impl AccountSetup
pub fn new(name: String, type_id: String) -> AccountSetup
Trait Implementations§
Source§impl Clone for AccountSetup
impl Clone for AccountSetup
Source§fn clone(&self) -> AccountSetup
fn clone(&self) -> AccountSetup
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 AccountSetup
impl Debug for AccountSetup
Source§impl<'de> Deserialize<'de> for AccountSetup
impl<'de> Deserialize<'de> for AccountSetup
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 AccountSetup
impl PartialEq for AccountSetup
Source§impl Serialize for AccountSetup
impl Serialize for AccountSetup
impl StructuralPartialEq for AccountSetup
Auto Trait Implementations§
impl Freeze for AccountSetup
impl RefUnwindSafe for AccountSetup
impl Send for AccountSetup
impl Sync for AccountSetup
impl Unpin for AccountSetup
impl UnwindSafe for AccountSetup
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