pub struct Model {
pub id: String,
pub name: String,
pub vendor: Option<String>,
pub family: Option<String>,
pub offers: Vec<Offer>,
}Fields§
§id: String§name: String§vendor: Option<String>§family: Option<String>§offers: Vec<Offer>Trait Implementations§
Auto Trait Implementations§
impl Forget for Model
impl Freeze for Model
impl Move for Model
impl RefUnwindSafe for Model
impl Send for Model
impl Sync for Model
impl Unpin for Model
impl UnsafeUnpin for Model
impl UnwindSafe for Model
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