pub struct ComponentPrice {
pub product_offering_id: Uuid,
pub price: Money,
pub required: bool,
}Expand description
Component price in a bundle
Fields§
§product_offering_id: Uuid§price: Money§required: boolTrait Implementations§
Source§impl Clone for ComponentPrice
impl Clone for ComponentPrice
Source§fn clone(&self) -> ComponentPrice
fn clone(&self) -> ComponentPrice
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 ComponentPrice
impl Debug for ComponentPrice
Source§impl<'de> Deserialize<'de> for ComponentPrice
impl<'de> Deserialize<'de> for ComponentPrice
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 ComponentPrice
impl RefUnwindSafe for ComponentPrice
impl Send for ComponentPrice
impl Sync for ComponentPrice
impl Unpin for ComponentPrice
impl UnwindSafe for ComponentPrice
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