pub struct LoadGroupDraft {
pub global_id: String,
pub owner_history: Option<EntityId>,
pub name: Option<String>,
pub description: Option<String>,
pub object_type: Option<String>,
pub action_type: &'static str,
pub action_source: &'static str,
pub coefficient: Option<f64>,
pub purpose: Option<String>,
pub kind: LoadGroupKind,
}Expand description
Staged fields for stage_load_group.
A load group is an IfcGroup, not an IfcProduct: it declares
no ObjectPlacement or Representation, so this draft has no
fields for them rather than accepting and dropping them.
Fields§
§global_id: StringGlobalId; must parse as a 22-character IFC GUID.
owner_history: Option<EntityId>OwnerHistory, validated against the model/transaction if present.
name: Option<String>Name.
description: Option<String>Description.
object_type: Option<String>ObjectType; required non-blank when any of the three
enum attributes is USERDEFINED.
action_type: &'static strActionType, an IfcActionTypeEnum token.
action_source: &'static strActionSource, an IfcActionSourceTypeEnum token.
coefficient: Option<f64>Coefficient, a ratio applied to every load in the group.
purpose: Option<String>Purpose.
kind: LoadGroupKindWhich group form, and its form-specific attributes.
Trait Implementations§
Source§impl Clone for LoadGroupDraft
impl Clone for LoadGroupDraft
Auto Trait Implementations§
impl Freeze for LoadGroupDraft
impl RefUnwindSafe for LoadGroupDraft
impl Send for LoadGroupDraft
impl Sync for LoadGroupDraft
impl Unpin for LoadGroupDraft
impl UnsafeUnpin for LoadGroupDraft
impl UnwindSafe for LoadGroupDraft
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