#[non_exhaustive]pub struct ActivityAssignmentDraft {
pub root: RelationshipRootDraft,
pub relating_element: EntityId,
pub activity: EntityId,
}Expand description
Staged fields for creating an IfcRelConnectsStructuralActivity via stage_activity_assignment.
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.root: RelationshipRootDraftIfcRoot attributes shared with other staged structural relationships.
relating_element: EntityIdRelatingElement, an IfcStructuralActivityAssignmentSelect (IfcElement or IfcStructuralItem).
activity: EntityIdRelatedStructuralActivity, the IfcStructuralActivity being attached.
Implementations§
Source§impl ActivityAssignmentDraft
impl ActivityAssignmentDraft
Sourcepub fn new(
root: RelationshipRootDraft,
relating_element: EntityId,
activity: EntityId,
) -> Self
pub fn new( root: RelationshipRootDraft, relating_element: EntityId, activity: EntityId, ) -> Self
Starts a draft from its required fields; every other field is unset.
Trait Implementations§
Source§impl Clone for ActivityAssignmentDraft
impl Clone for ActivityAssignmentDraft
Auto Trait Implementations§
impl Freeze for ActivityAssignmentDraft
impl RefUnwindSafe for ActivityAssignmentDraft
impl Send for ActivityAssignmentDraft
impl Sync for ActivityAssignmentDraft
impl Unpin for ActivityAssignmentDraft
impl UnsafeUnpin for ActivityAssignmentDraft
impl UnwindSafe for ActivityAssignmentDraft
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