Enum paypal_rs::invoice::UnitOfMeasure [−][src]
pub enum UnitOfMeasure { Quantity, Hours, Amount, }
Expand description
The unit of measure for the invoiced item.
Variants
The unit of measure is quantity. This invoice template is typically used for physical goods.
The unit of measure is hours. This invoice template is typically used for services.
The unit of measure is amount. This invoice template is typically used when only amount is required.
Trait Implementations
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 RefUnwindSafe for UnitOfMeasure
impl Send for UnitOfMeasure
impl Sync for UnitOfMeasure
impl Unpin for UnitOfMeasure
impl UnwindSafe for UnitOfMeasure