pub struct Add {
pub occurrences: Vec<String>,
pub part: String,
pub name: String,
pub find_number: String,
pub subassembly: bool,
pub fastener: bool,
pub serial_tracked: bool,
}Expand description
Parts one step adds: one part, at one or more occurrences.
Fields§
§occurrences: Vec<String>Occurrence paths, relative to the document (ACOMP1:ACOMP3).
part: StringThe part: its PLM part id when it was placed from a PLM revision (what the server and the thumbnails key on), else its name.
name: StringThe display name, when it differs from part (a PLM part): what the
pane, the parts list and the player show. See Add::display_name.
find_number: String§subassembly: boolA finished sub-assembly placed as one part.
fastener: bool§serial_tracked: boolImplementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Add
impl<'de> Deserialize<'de> for Add
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl StructuralPartialEq for Add
Auto Trait Implementations§
impl Forget for Add
impl Freeze for Add
impl Move for Add
impl RefUnwindSafe for Add
impl Send for Add
impl Sync for Add
impl Unpin for Add
impl UnsafeUnpin for Add
impl UnwindSafe for Add
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