pub struct StepWriteOptions {
pub product_name: String,
pub author: String,
pub organization: String,
pub timestamp: String,
pub originating_system: String,
}Expand description
Options controlling the STEP HEADER metadata. All fields have neutral
defaults so StepWriteOptions::default() produces a valid header.
Fields§
§product_name: StringPRODUCT id and name, and the FILE_NAME name field.
FILE_NAME author entry.
organization: StringFILE_NAME organization entry.
timestamp: StringFILE_NAME timestamp (ISO 8601). Left to the caller so output can be
deterministic in tests; when empty a fixed placeholder is written.
originating_system: StringFILE_NAME originating system field.
Trait Implementations§
Source§impl Clone for StepWriteOptions
impl Clone for StepWriteOptions
Source§fn clone(&self) -> StepWriteOptions
fn clone(&self) -> StepWriteOptions
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 StepWriteOptions
impl Debug for StepWriteOptions
Auto Trait Implementations§
impl Freeze for StepWriteOptions
impl RefUnwindSafe for StepWriteOptions
impl Send for StepWriteOptions
impl Sync for StepWriteOptions
impl Unpin for StepWriteOptions
impl UnsafeUnpin for StepWriteOptions
impl UnwindSafe for StepWriteOptions
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