#[non_exhaustive]pub struct ExternalReferenceRelationshipDraft<'a> {
pub name: Option<&'a str>,
pub description: Option<&'a str>,
pub relating_reference: EntityId,
pub related_resources: &'a [EntityId],
}Expand description
Draft for one generic external-reference relationship (IFC4 onwards).
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.name: Option<&'a str>Optional relationship name.
description: Option<&'a str>Optional relationship description.
relating_reference: EntityIdExisting or earlier-staged subtype of IfcExternalReference.
Non-empty unique IfcResourceObjectSelect targets, as the model’s
release declares that select (IFC4X3 adds IfcShapeAspect).
Implementations§
Source§impl<'a> ExternalReferenceRelationshipDraft<'a>
impl<'a> ExternalReferenceRelationshipDraft<'a>
Trait Implementations§
Source§impl<'a> Clone for ExternalReferenceRelationshipDraft<'a>
impl<'a> Clone for ExternalReferenceRelationshipDraft<'a>
impl<'a> Copy for ExternalReferenceRelationshipDraft<'a>
Auto Trait Implementations§
impl<'a> Freeze for ExternalReferenceRelationshipDraft<'a>
impl<'a> RefUnwindSafe for ExternalReferenceRelationshipDraft<'a>
impl<'a> Send for ExternalReferenceRelationshipDraft<'a>
impl<'a> Sync for ExternalReferenceRelationshipDraft<'a>
impl<'a> Unpin for ExternalReferenceRelationshipDraft<'a>
impl<'a> UnsafeUnpin for ExternalReferenceRelationshipDraft<'a>
impl<'a> UnwindSafe for ExternalReferenceRelationshipDraft<'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