pub struct BusinessUpdate {
pub name: String,
pub company_number: Option<String>,
pub tax_identifier: Option<String>,
pub status: Status,
pub contacts: Contacts,
pub custom_data: Option<HashMap<String, String>>,
}
Expand description
Represents a business entity when updating businesses.
Fields§
§name: String
Full name.
company_number: Option<String>
Company number for this business.
tax_identifier: Option<String>
Tax or VAT Number for this business.
status: Status
Whether this entity can be used in Paddle.
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.
Trait Implementations§
Source§impl Clone for BusinessUpdate
impl Clone for BusinessUpdate
Source§fn clone(&self) -> BusinessUpdate
fn clone(&self) -> BusinessUpdate
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 BusinessUpdate
impl Debug for BusinessUpdate
Source§impl<'de> Deserialize<'de> for BusinessUpdate
impl<'de> Deserialize<'de> for BusinessUpdate
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 BusinessUpdate
impl RefUnwindSafe for BusinessUpdate
impl Send for BusinessUpdate
impl Sync for BusinessUpdate
impl Unpin for BusinessUpdate
impl UnwindSafe for BusinessUpdate
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