pub struct YapayProduct {
pub code: String,
pub sku_code: String,
pub description: String,
pub quantity: String,
pub price_unit: String,
pub extra: Option<String>,
}
Fields§
§code: String
§sku_code: String
§description: String
§quantity: String
§price_unit: String
§extra: Option<String>
Implementations§
Trait Implementations§
Source§impl Clone for YapayProduct
impl Clone for YapayProduct
Source§fn clone(&self) -> YapayProduct
fn clone(&self) -> YapayProduct
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 YapayProduct
impl Debug for YapayProduct
Source§impl<'de> Deserialize<'de> for YapayProduct
impl<'de> Deserialize<'de> for YapayProduct
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 YapayProduct
impl PartialEq for YapayProduct
Source§impl Serialize for YapayProduct
impl Serialize for YapayProduct
Source§impl Validate for YapayProduct
impl Validate for YapayProduct
Source§impl<'v_a> ValidateArgs<'v_a> for YapayProduct
impl<'v_a> ValidateArgs<'v_a> for YapayProduct
impl StructuralPartialEq for YapayProduct
Auto Trait Implementations§
impl Freeze for YapayProduct
impl RefUnwindSafe for YapayProduct
impl Send for YapayProduct
impl Sync for YapayProduct
impl Unpin for YapayProduct
impl UnwindSafe for YapayProduct
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