pub struct Header {
pub description: Vec<String>,
pub implementation_level: String,
pub name: String,
pub time_stamp: String,
pub author: Vec<String>,
pub organization: Vec<String>,
pub preprocessor_version: String,
pub originating_system: String,
pub authorization: String,
pub schema: Vec<String>,
}Expand description
Metadata describing the file and the schema it claims to follow.
Fields§
§description: Vec<String>FILE_DESCRIPTION description strings, e.g. a view definition.
implementation_level: StringFILE_DESCRIPTION implementation level, conventionally 2;1.
name: StringOriginating file name.
time_stamp: StringISO-8601 timestamp as written.
Author entries.
organization: Vec<String>Organization entries.
preprocessor_version: StringPreprocessor that produced the file.
originating_system: StringOriginating application.
Authorization field.
schema: Vec<String>FILE_SCHEMA tokens, e.g. IFC4X3_ADD2.
Kept as written rather than parsed into an enum: an unrecognized schema token must survive a round-trip, and refusing to store it would corrupt files from schema versions this build predates.
Implementations§
Trait Implementations§
impl StructuralPartialEq for Header
Auto Trait Implementations§
impl Freeze for Header
impl RefUnwindSafe for Header
impl Send for Header
impl Sync for Header
impl Unpin for Header
impl UnsafeUnpin for Header
impl UnwindSafe for Header
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