pub struct LineItem {
pub id: u128,
pub quantity: i64,
pub title: String,
pub product_id: Option<u128>,
pub variant_title: Option<String>,
pub variant_id: u128,
pub price_set: PriceSet,
pub requires_shipping: bool,
pub properties: Vec<Property>,
}Fields§
§id: u128§quantity: i64§title: String§product_id: Option<u128>§variant_title: Option<String>§variant_id: u128§price_set: PriceSet§requires_shipping: bool§properties: Vec<Property>Trait Implementations§
Source§impl<'de> Deserialize<'de> for LineItem
impl<'de> Deserialize<'de> for LineItem
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 LineItem
impl RefUnwindSafe for LineItem
impl Send for LineItem
impl Sync for LineItem
impl Unpin for LineItem
impl UnwindSafe for LineItem
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