pub struct CreateContactsParams {
pub customer_id: String,
pub user_id: Option<String>,
pub contact_type: Option<String>,
pub name: Option<String>,
pub email: Option<String>,
pub phone: Option<String>,
pub customer_id2: Option<String>,
}
Expand description
struct for passing parameters to the method create_contacts
Fields§
§customer_id: String
Alphanumeric string identifying the customer.
user_id: Option<String>
The alphanumeric string representing the user for this customer contact.
contact_type: Option<String>
The type of contact.
name: Option<String>
The name of this contact, when user_id is not provided.
email: Option<String>
The email of this contact, when a user_id is not provided.
phone: Option<String>
The phone number for this contact. Required for primary, technical, and security contact types.
customer_id2: Option<String>
The alphanumeric string representing the customer for this customer contact.
Trait Implementations§
Source§impl Clone for CreateContactsParams
impl Clone for CreateContactsParams
Source§fn clone(&self) -> CreateContactsParams
fn clone(&self) -> CreateContactsParams
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 CreateContactsParams
impl Debug for CreateContactsParams
Source§impl Default for CreateContactsParams
impl Default for CreateContactsParams
Source§fn default() -> CreateContactsParams
fn default() -> CreateContactsParams
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for CreateContactsParams
impl RefUnwindSafe for CreateContactsParams
impl Send for CreateContactsParams
impl Sync for CreateContactsParams
impl Unpin for CreateContactsParams
impl UnwindSafe for CreateContactsParams
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