Struct billecta::ProductPrice
source · pub struct ProductPrice {
pub product_public_id: Uuid,
pub creditor_public_id: Uuid,
pub amount: Option<Amount>,
pub description: Option<String>,
}
Fields§
§product_public_id: Uuid
§creditor_public_id: Uuid
§amount: Option<Amount>
§description: Option<String>
Implementations§
Trait Implementations§
source§impl Clone for ProductPrice
impl Clone for ProductPrice
source§fn clone(&self) -> ProductPrice
fn clone(&self) -> ProductPrice
Returns a copy 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 ProductPrice
impl Debug for ProductPrice
source§impl<'de> Deserialize<'de> for ProductPrice
impl<'de> Deserialize<'de> for ProductPrice
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 ProductPrice
impl RefUnwindSafe for ProductPrice
impl Send for ProductPrice
impl Sync for ProductPrice
impl Unpin for ProductPrice
impl UnwindSafe for ProductPrice
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