pub struct PartOptions {
pub id: Option<String>,
pub description: Option<String>,
pub version: Option<String>,
pub version_description: Option<String>,
pub definition_description: Option<String>,
}Expand description
Optional overrides for StepBuilder::part_with — every field defaults
to the plain part behaviour.
Fields§
§id: Option<String>PRODUCT.id (part number); defaults to the part name.
description: Option<String>PRODUCT.description.
version: Option<String>Version label (PRODUCT_DEFINITION_FORMATION.id); defaults to "".
version_description: Option<String>PRODUCT_DEFINITION_FORMATION.description.
definition_description: Option<String>PRODUCT_DEFINITION.description.
Trait Implementations§
Source§impl Clone for PartOptions
impl Clone for PartOptions
Source§fn clone(&self) -> PartOptions
fn clone(&self) -> PartOptions
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 PartOptions
impl Debug for PartOptions
Source§impl Default for PartOptions
impl Default for PartOptions
Source§fn default() -> PartOptions
fn default() -> PartOptions
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for PartOptions
impl RefUnwindSafe for PartOptions
impl Send for PartOptions
impl Sync for PartOptions
impl Unpin for PartOptions
impl UnsafeUnpin for PartOptions
impl UnwindSafe for PartOptions
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