pub struct BusinessCreate {
pub id: BusinessID,
pub name: String,
pub company_number: Option<String>,
pub tax_identifier: Option<String>,
pub contacts: Contacts,
pub custom_data: Option<HashMap<String, String>>,
pub import_meta: ImportMeta,
}
Expand description
Represents a business entity when creating businesses.
Fields§
§id: BusinessID
Unique Paddle ID for this business entity, prefixed with biz_
.
name: String
Full name.
company_number: Option<String>
Company number for this business.
tax_identifier: Option<String>
Tax or VAT Number for this business.
contacts: Contacts
List of contacts related to this business, typically used for sending invoices.
custom_data: Option<HashMap<String, String>>
Your own structured key-value data.
import_meta: ImportMeta
Import information for this entity. null
if this entity is not imported.
Trait Implementations§
Source§impl Clone for BusinessCreate
impl Clone for BusinessCreate
Source§fn clone(&self) -> BusinessCreate
fn clone(&self) -> BusinessCreate
Returns a copy 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 BusinessCreate
impl Debug for BusinessCreate
Source§impl<'de> Deserialize<'de> for BusinessCreate
impl<'de> Deserialize<'de> for BusinessCreate
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 BusinessCreate
impl RefUnwindSafe for BusinessCreate
impl Send for BusinessCreate
impl Sync for BusinessCreate
impl Unpin for BusinessCreate
impl UnwindSafe for BusinessCreate
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