pub struct AccountCreateInput {
pub business_id: String,
pub name: String,
pub subtype: AccountSubtypeValue,
pub currency: Option<CurrencyCode>,
pub description: Option<String>,
pub display_id: Option<String>,
}Expand description
Input for creating an account.
Fields§
§business_id: String§name: String§subtype: AccountSubtypeValue§currency: Option<CurrencyCode>§description: Option<String>§display_id: Option<String>Implementations§
Source§impl AccountCreateInput
impl AccountCreateInput
pub fn new( business_id: impl Into<String>, name: impl Into<String>, subtype: AccountSubtypeValue, ) -> Self
pub fn currency(self, v: CurrencyCode) -> Self
pub fn description(self, v: impl Into<String>) -> Self
pub fn display_id(self, v: impl Into<String>) -> Self
Trait Implementations§
Source§impl Clone for AccountCreateInput
impl Clone for AccountCreateInput
Source§fn clone(&self) -> AccountCreateInput
fn clone(&self) -> AccountCreateInput
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 AccountCreateInput
impl Debug for AccountCreateInput
Auto Trait Implementations§
impl Freeze for AccountCreateInput
impl RefUnwindSafe for AccountCreateInput
impl Send for AccountCreateInput
impl Sync for AccountCreateInput
impl Unpin for AccountCreateInput
impl UnsafeUnpin for AccountCreateInput
impl UnwindSafe for AccountCreateInput
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