pub struct Contact {
pub name: String,
pub phone: String,
pub email: String,
pub fax: Option<String>,
}Expand description
Contact : Contact information for the person in the seller’s organization who is responsible for a Less Than Truckload/Full Truckload (LTL/FTL) shipment.
Fields
name: StringThe name of the contact person.
phone: StringThe phone number of the contact person.
email: StringThe email address of the contact person.
fax: Option<String>The fax number of the contact person.
Implementations
Trait Implementations
sourceimpl<'de> Deserialize<'de> for Contact
impl<'de> Deserialize<'de> for Contact
sourcefn 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
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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more