Struct fastly_api::apis::contact_api::CreateContactsParams
source · 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 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 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 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