pub struct FileHeader {
pub description: String,
pub file_name: String,
pub time_stamp: String,
pub authors: Vec<String>,
pub organizations: Vec<String>,
pub preprocessor_version: String,
pub originating_system: String,
pub authorisation: String,
pub schema: SchemaId,
}Expand description
The Part 21 HEADER section (FILE_DESCRIPTION + FILE_NAME +
FILE_SCHEMA). Reading decodes it from the source file; the builder
fills it from user input plus its automatic timestamp and preprocessor
stamp. The default is the customary all-empty header.
Fields§
§description: StringFILE_DESCRIPTION.description; multiple entries read as one joined
string.
file_name: StringFILE_NAME.name.
time_stamp: StringFILE_NAME.time_stamp.
FILE_NAME.author; empty renders as the customary ('').
organizations: Vec<String>FILE_NAME.organization; empty renders as the customary ('').
preprocessor_version: StringFILE_NAME.preprocessor_version — the STEP processor or library
that produced the file.
originating_system: StringFILE_NAME.originating_system — the CAD application the file came
from.
FILE_NAME.authorisation.
schema: SchemaIdFILE_SCHEMA — the identified schema (AP family, edition, stage)
plus the raw strings. The source schema on a read model; the AP242
identity on an authored one.
Trait Implementations§
Source§impl Clone for FileHeader
impl Clone for FileHeader
Source§fn clone(&self) -> FileHeader
fn clone(&self) -> FileHeader
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more