pub struct DocumentReferenceDraft<'a> {
pub location: Option<&'a str>,
pub identification: Option<&'a str>,
pub name: Option<&'a str>,
pub description: Option<&'a str>,
pub referenced_document: Option<EntityId>,
}Expand description
Draft for one IfcDocumentReference.
Fields§
§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, when stated (ItemReference in IFC2X3).
name: Option<&'a str>Name; exactly one of name and referenced_document must be given.
description: Option<&'a str>Description of the reference, when stated. IFC4 onwards.
referenced_document: Option<EntityId>ReferencedDocument: an IfcDocumentInformation; exactly one of
name and this must be given. IFC4 onwards: IFC2X3 links the other
way, so there name is required.
Trait Implementations§
Source§impl<'a> Clone for DocumentReferenceDraft<'a>
impl<'a> Clone for DocumentReferenceDraft<'a>
impl<'a> Copy for DocumentReferenceDraft<'a>
Auto Trait Implementations§
impl<'a> Freeze for DocumentReferenceDraft<'a>
impl<'a> RefUnwindSafe for DocumentReferenceDraft<'a>
impl<'a> Send for DocumentReferenceDraft<'a>
impl<'a> Sync for DocumentReferenceDraft<'a>
impl<'a> Unpin for DocumentReferenceDraft<'a>
impl<'a> UnsafeUnpin for DocumentReferenceDraft<'a>
impl<'a> UnwindSafe for DocumentReferenceDraft<'a>
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