pub struct ShoppingItem {
pub product_name: String,
pub quantity: f64,
pub unit: String,
}Fields§
§product_name: String§quantity: f64§unit: StringTrait Implementations§
Auto Trait Implementations§
impl Freeze for ShoppingItem
impl RefUnwindSafe for ShoppingItem
impl Send for ShoppingItem
impl Sync for ShoppingItem
impl Unpin for ShoppingItem
impl UnwindSafe for ShoppingItem
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