pub struct Component {
pub path: String,
pub part: String,
pub part_id: Option<String>,
pub signature: String,
pub find_number: String,
pub grounded: bool,
pub fastener: bool,
pub serial_tracked: bool,
pub torque: Option<String>,
pub attributes: Vec<(String, String)>,
pub children: Option<Box<Level>>,
}Fields§
§path: StringOccurrence path relative to the instructions document (ACOMP1:ACOMP3).
part: StringThe part’s name (titles, the display name).
part_id: Option<String>The PLM part id when the part was placed from a PLM revision
(part/<id>/rev/<rev>): what an add’s part names then.
signature: StringThe placed part’s content signature (re-target compares it).
find_number: String§grounded: bool§fastener: bool§serial_tracked: bool§torque: Option<String>The fastener’s Torque attribute text.
attributes: Vec<(String, String)>The part’s own partAttributes with a text, number or yes/no value
(description, material, vendor …): what the
player’s parts page lists as the part’s details.
children: Option<Box<Level>>A sub-assembly’s own level.
Implementations§
Trait Implementations§
impl StructuralPartialEq for Component
Auto Trait Implementations§
impl Forget for Component
impl Freeze for Component
impl Move for Component
impl RefUnwindSafe for Component
impl Send for Component
impl Sync for Component
impl Unpin for Component
impl UnsafeUnpin for Component
impl UnwindSafe for Component
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