pub struct NewItem {
pub ean: String,
pub local_store_id: Option<String>,
pub allow_substitutes: bool,
pub amount_info: AmountInfo,
}Fields§
§ean: String§local_store_id: Option<String>Only set for store-local products; omitted entirely otherwise.
allow_substitutes: bool§amount_info: AmountInfoTrait Implementations§
Auto Trait Implementations§
impl Freeze for NewItem
impl RefUnwindSafe for NewItem
impl Send for NewItem
impl Sync for NewItem
impl Unpin for NewItem
impl UnsafeUnpin for NewItem
impl UnwindSafe for NewItem
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