pub enum MethodOfPayment {
PaidByBuyer,
CollectOnDelivery,
DefinedByBuyerAndSeller,
FobPortOfCall,
PrepaidBySeller,
PaidBySeller,
}Expand description
This is used for import purchase orders only. If the recipient requests, this field will contain the shipment method of payment.
Variants§
Trait Implementations§
Source§impl Clone for MethodOfPayment
impl Clone for MethodOfPayment
Source§fn clone(&self) -> MethodOfPayment
fn clone(&self) -> MethodOfPayment
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 MethodOfPayment
impl Debug for MethodOfPayment
Source§impl Default for MethodOfPayment
impl Default for MethodOfPayment
Source§fn default() -> MethodOfPayment
fn default() -> MethodOfPayment
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for MethodOfPayment
impl<'de> Deserialize<'de> for MethodOfPayment
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 Hash for MethodOfPayment
impl Hash for MethodOfPayment
Source§impl Ord for MethodOfPayment
impl Ord for MethodOfPayment
Source§fn cmp(&self, other: &MethodOfPayment) -> Ordering
fn cmp(&self, other: &MethodOfPayment) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for MethodOfPayment
impl PartialEq for MethodOfPayment
Source§impl PartialOrd for MethodOfPayment
impl PartialOrd for MethodOfPayment
Source§impl Serialize for MethodOfPayment
impl Serialize for MethodOfPayment
impl Copy for MethodOfPayment
impl Eq for MethodOfPayment
impl StructuralPartialEq for MethodOfPayment
Auto Trait Implementations§
impl Freeze for MethodOfPayment
impl RefUnwindSafe for MethodOfPayment
impl Send for MethodOfPayment
impl Sync for MethodOfPayment
impl Unpin for MethodOfPayment
impl UnwindSafe for MethodOfPayment
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