pub struct PrimaryContact {
pub name: String,
pub address: Box<Address>,
pub non_latin_name: Option<String>,
}Expand description
PrimaryContact : Information about the seller’s primary contact.
Fields§
§name: StringThe full name of the seller’s primary contact.
address: Box<Address>§non_latin_name: Option<String>The non-Latin script version of the primary contact’s name, if applicable.
Implementations§
Source§impl PrimaryContact
impl PrimaryContact
Sourcepub fn new(name: String, address: Address) -> PrimaryContact
pub fn new(name: String, address: Address) -> PrimaryContact
Information about the seller’s primary contact.
Trait Implementations§
Source§impl Clone for PrimaryContact
impl Clone for PrimaryContact
Source§fn clone(&self) -> PrimaryContact
fn clone(&self) -> PrimaryContact
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 PrimaryContact
impl Debug for PrimaryContact
Source§impl Default for PrimaryContact
impl Default for PrimaryContact
Source§fn default() -> PrimaryContact
fn default() -> PrimaryContact
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PrimaryContact
impl<'de> Deserialize<'de> for PrimaryContact
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 for PrimaryContact
impl PartialEq for PrimaryContact
Source§impl Serialize for PrimaryContact
impl Serialize for PrimaryContact
impl StructuralPartialEq for PrimaryContact
Auto Trait Implementations§
impl Freeze for PrimaryContact
impl RefUnwindSafe for PrimaryContact
impl Send for PrimaryContact
impl Sync for PrimaryContact
impl Unpin for PrimaryContact
impl UnsafeUnpin for PrimaryContact
impl UnwindSafe for PrimaryContact
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