Struct fastly_api::models::contact::Contact
source · pub struct Contact {
pub user_id: Option<String>,
pub contact_type: Option<ContactType>,
pub name: Option<String>,
pub email: Option<String>,
pub phone: Option<String>,
pub customer_id: Option<String>,
}
Fields§
§user_id: Option<String>
The alphanumeric string representing the user for this customer contact.
contact_type: Option<ContactType>
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_id: Option<String>
The alphanumeric string representing the customer for this customer contact.
Implementations§
Trait Implementations§
source§impl<'de> Deserialize<'de> for Contact
impl<'de> Deserialize<'de> for Contact
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
source§impl PartialEq<Contact> for Contact
impl PartialEq<Contact> for Contact
impl StructuralPartialEq for Contact
Auto Trait Implementations§
impl RefUnwindSafe for Contact
impl Send for Contact
impl Sync for Contact
impl Unpin for Contact
impl UnwindSafe for Contact
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