pub struct BomRow {
pub refdes: String,
pub category: String,
pub value: String,
pub model: String,
pub qty: usize,
}Expand description
One BOM row for a single component instance (refdes).
Fields§
§refdes: StringReference designator (the component id from the .pedal file).
category: StringComponent category (e.g. resistor, potentiometer, PNP transistor).
value: StringHuman-readable value / description (e.g. 4.7kΩ, Silicon).
model: StringDevice model name when the component carries one (e.g. AC128).
qty: usizePhysical part count for this refdes (diode_pair = 2 diodes).
Trait Implementations§
impl StructuralPartialEq for BomRow
Auto Trait Implementations§
impl Freeze for BomRow
impl RefUnwindSafe for BomRow
impl Send for BomRow
impl Sync for BomRow
impl Unpin for BomRow
impl UnsafeUnpin for BomRow
impl UnwindSafe for BomRow
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