pub struct Vendor {Show 18 fields
pub id: String,
pub name: String,
pub first_name: Option<String>,
pub last_name: Option<String>,
pub display_id: Option<String>,
pub email: Option<String>,
pub mobile: Option<String>,
pub phone: Option<String>,
pub fax: Option<String>,
pub toll_free: Option<String>,
pub website: Option<String>,
pub internal_notes: Option<String>,
pub address: Option<Address>,
pub currency: Option<Currency>,
pub shipping_details: Option<ShippingDetails>,
pub is_archived: Option<bool>,
pub created_at: DateTime<Utc>,
pub modified_at: DateTime<Utc>,
}Expand description
A vendor of the business.
Fields§
§id: String§name: String§first_name: Option<String>§last_name: Option<String>§display_id: Option<String>§email: Option<String>§mobile: Option<String>§phone: Option<String>§fax: Option<String>§toll_free: Option<String>§website: Option<String>§internal_notes: Option<String>§address: Option<Address>§currency: Option<Currency>§shipping_details: Option<ShippingDetails>§is_archived: Option<bool>§created_at: DateTime<Utc>§modified_at: DateTime<Utc>Trait Implementations§
Source§impl<'de> Deserialize<'de> for Vendor
impl<'de> Deserialize<'de> for Vendor
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
Auto Trait Implementations§
impl Freeze for Vendor
impl RefUnwindSafe for Vendor
impl Send for Vendor
impl Sync for Vendor
impl Unpin for Vendor
impl UnsafeUnpin for Vendor
impl UnwindSafe for Vendor
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