pub struct Request {
pub offering: LocationOffering,
pub quantity: Quantity,
pub source: Source,
pub price_adjustment: PriceAdjustment,
}Expand description
Retail sale request combining offering, quantity, source, and price-adjustment context.
Fields§
§offering: LocationOfferingSource-derived offering carried by this retail contract.
quantity: QuantitySource-derived quantity carried by this retail contract.
source: SourceSource-derived source carried by this retail contract.
price_adjustment: PriceAdjustmentSource-derived price adjustment carried by this retail contract.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Request
impl<'de> Deserialize<'de> for Request
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
impl Eq for Request
impl StructuralPartialEq for Request
Auto Trait Implementations§
impl Freeze for Request
impl RefUnwindSafe for Request
impl Send for Request
impl Sync for Request
impl Unpin for Request
impl UnsafeUnpin for Request
impl UnwindSafe for Request
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