pub struct Merchant {
pub id: usize,
pub name: String,
}
Fields§
§id: usize
§name: String
Trait Implementations§
impl Send for Merchant
impl Sync for Merchant
Auto Trait Implementations§
impl Freeze for Merchant
impl RefUnwindSafe for Merchant
impl Unpin for Merchant
impl UnwindSafe for Merchant
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