pub struct ActorDraft<'a> {
pub global_id: &'a str,
pub the_actor: EntityId,
pub name: Option<&'a str>,
pub description: Option<&'a str>,
pub object_type: Option<&'a str>,
pub predefined_type: Option<&'a str>,
}Expand description
Attributes of an IfcActor or IfcOccupant beyond the party.
Fields§
§global_id: &'a strGlobalId, a compressed IFC GUID.
the_actor: EntityIdTheActor: the party this record speaks for.
Required by the schema and not defaultable: a record naming nobody identifies no party.
name: Option<&'a str>Name.
description: Option<&'a str>Description.
object_type: Option<&'a str>ObjectType. Required when predefined_type is USERDEFINED.
predefined_type: Option<&'a str>PredefinedType, an IfcOccupantTypeEnum token.
IfcActor declares no predefined type; supplying one for a
plain actor is refused rather than dropped.
Trait Implementations§
Source§impl<'a> Clone for ActorDraft<'a>
impl<'a> Clone for ActorDraft<'a>
impl<'a> Copy for ActorDraft<'a>
Auto Trait Implementations§
impl<'a> Freeze for ActorDraft<'a>
impl<'a> RefUnwindSafe for ActorDraft<'a>
impl<'a> Send for ActorDraft<'a>
impl<'a> Sync for ActorDraft<'a>
impl<'a> Unpin for ActorDraft<'a>
impl<'a> UnsafeUnpin for ActorDraft<'a>
impl<'a> UnwindSafe for ActorDraft<'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