pub struct PartsListLine {
pub item: String,
pub quantity: u64,
pub name: String,
pub designation: String,
pub material: String,
pub placements: Vec<String>,
}Expand description
A line of a drawing’s bill of materials: a kind of part placed — its
item number, how many there are, what it is called, what it is ordered
as (ISO 4762 M4x12, empty for a part that is made) and made of — and
where it is placed, as the entities of placed parts are named: screw,
arm/screw for one placed in the part placed as arm, "" for the
part drawn. Who lists the parts placed is the caller’s: the drawing lays
them out, and balloons them where they are placed.
Fields§
§item: String§quantity: u64§name: String§designation: String§material: String§placements: Vec<String>Trait Implementations§
Source§impl Clone for PartsListLine
impl Clone for PartsListLine
Source§fn clone(&self) -> PartsListLine
fn clone(&self) -> PartsListLine
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PartsListLine
impl Debug for PartsListLine
Source§impl Default for PartsListLine
impl Default for PartsListLine
Source§fn default() -> PartsListLine
fn default() -> PartsListLine
Returns the “default value” for a type. Read more
Source§impl PartialEq for PartsListLine
impl PartialEq for PartsListLine
impl StructuralPartialEq for PartsListLine
Auto Trait Implementations§
impl Freeze for PartsListLine
impl RefUnwindSafe for PartsListLine
impl Send for PartsListLine
impl Sync for PartsListLine
impl Unpin for PartsListLine
impl UnsafeUnpin for PartsListLine
impl UnwindSafe for PartsListLine
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