pub struct CustomerCreateInput {
pub id: Option<String>,
pub name: Option<String>,
pub domains: Option<Vec<String>>,
pub external_ids: Option<Vec<String>>,
pub slack_channel_id: Option<String>,
pub owner_id: Option<String>,
pub status_id: Option<String>,
pub revenue: Option<i64>,
pub size: Option<i64>,
pub tier_id: Option<String>,
pub logo_url: Option<String>,
pub main_source_id: Option<String>,
}Fields§
§id: Option<String>The identifier in UUID v4 format. If none is provided, the backend will generate one.
name: Option<String>The name of the customer.
domains: Option<Vec<String>>The domains associated with this customer.
external_ids: Option<Vec<String>>The ids of the customers in external systems.
slack_channel_id: Option<String>The ID of the Slack channel used to interact with the customer.
owner_id: Option<String>The user who owns the customer.
status_id: Option<String>The status of the customer.
revenue: Option<i64>The annual revenue generated by the customer.
size: Option<i64>The size of the customer.
tier_id: Option<String>The tier of the customer customer.
logo_url: Option<String>The URL of the customer’s logo.
main_source_id: Option<String>The main source of the customer, for customers with multiple sources. Must be one of externalIds.
Trait Implementations§
Source§impl Clone for CustomerCreateInput
impl Clone for CustomerCreateInput
Source§fn clone(&self) -> CustomerCreateInput
fn clone(&self) -> CustomerCreateInput
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 CustomerCreateInput
impl Debug for CustomerCreateInput
Source§impl Default for CustomerCreateInput
impl Default for CustomerCreateInput
Source§fn default() -> CustomerCreateInput
fn default() -> CustomerCreateInput
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CustomerCreateInput
impl<'de> Deserialize<'de> for CustomerCreateInput
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 CustomerCreateInput
impl RefUnwindSafe for CustomerCreateInput
impl Send for CustomerCreateInput
impl Sync for CustomerCreateInput
impl Unpin for CustomerCreateInput
impl UnwindSafe for CustomerCreateInput
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