[][src]Enum paypal_rs::invoice::UnitOffMeasure

pub enum UnitOffMeasure {
    Quantity,
    Hours,
    Amount,
}

The unit of measure for the invoiced item.

Variants

Quantity

The unit of measure is quantity. This invoice template is typically used for physical goods.

Hours

The unit of measure is hours. This invoice template is typically used for services.

Amount

The unit of measure is amount. This invoice template is typically used when only amount is required.

Trait Implementations

impl Debug for UnitOffMeasure[src]

impl<'de> Deserialize<'de> for UnitOffMeasure[src]

impl Eq for UnitOffMeasure[src]

impl PartialEq<UnitOffMeasure> for UnitOffMeasure[src]

impl Serialize for UnitOffMeasure[src]

impl StructuralEq for UnitOffMeasure[src]

impl StructuralPartialEq for UnitOffMeasure[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<Q, K> Equivalent<K> for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.