pub struct StepWriteOptions {
pub product_name: String,
pub author: String,
pub organization: String,
pub timestamp: String,
pub originating_system: String,
}Expand description
Metadata written to the STEP FILE_NAME header record.
Default values produce deterministic output. They identify the file as
cadmpeg_model, leave the author and organization empty, use cadmpeg as
the originating system, and substitute 1970-01-01T00:00:00 for the empty
timestamp.
Fields§
§product_name: StringThe FILE_NAME name field.
The STEP PRODUCT id and name come from the first IR body name, or
cadmpeg_model when that body has no name.
The sole entry in the FILE_NAME author list.
organization: StringThe sole entry in the FILE_NAME organization list.
timestamp: StringThe FILE_NAME timestamp.
Supply an ISO 8601 value. An empty string is written as
1970-01-01T00:00:00.
originating_system: StringThe FILE_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