#[non_exhaustive]pub struct LibraryReferenceDraft<'a> {
pub location: Option<&'a str>,
pub identification: Option<&'a str>,
pub name: Option<&'a str>,
pub description: Option<&'a str>,
pub language: Option<&'a str>,
pub referenced_library: Option<EntityId>,
}Expand description
Draft for one IfcLibraryReference.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.location: Option<&'a str>Location (URI) of the reference; at least one of location/identification/name must be given.
identification: Option<&'a str>Identification code within the library, when stated
(ItemReference in IFC2X3).
name: Option<&'a str>Name of the referenced item, when stated.
description: Option<&'a str>Description of the reference, when stated. IFC4 onwards.
language: Option<&'a str>Language of the referenced content, when stated. IFC4 onwards.
referenced_library: Option<EntityId>ReferencedLibrary: an IfcLibraryInformation, when stated. IFC4
onwards.
Implementations§
Source§impl<'a> LibraryReferenceDraft<'a>
impl<'a> LibraryReferenceDraft<'a>
Sourcepub fn location(self, value: &'a str) -> Self
pub fn location(self, value: &'a str) -> Self
Sets location: Location (URI) of the reference; at least one of
location/identification/name must be given.
Sourcepub fn identification(self, value: &'a str) -> Self
pub fn identification(self, value: &'a str) -> Self
Sets identification: Identification code within the library, when
stated (ItemReference in IFC2X3).
Sourcepub fn description(self, value: &'a str) -> Self
pub fn description(self, value: &'a str) -> Self
Sets description: Description of the reference, when stated. IFC4
onwards.
Sourcepub fn language(self, value: &'a str) -> Self
pub fn language(self, value: &'a str) -> Self
Sets language: Language of the referenced content, when stated. IFC4
onwards.
Sourcepub fn referenced_library(self, value: EntityId) -> Self
pub fn referenced_library(self, value: EntityId) -> Self
Sets referenced_library: ReferencedLibrary: an
IfcLibraryInformation, when stated. IFC4 onwards.