pub struct AnnotationDraft<'a> {
pub global_id: &'a str,
pub owner_history: Option<EntityId>,
pub name: Option<&'a str>,
pub description: Option<&'a str>,
pub object_type: Option<&'a str>,
pub object_placement: Option<EntityId>,
pub representation: Option<EntityId>,
pub predefined_type: Option<AnnotationType>,
}Expand description
Draft input for create_annotation: the writable attributes of a new
IfcAnnotation.
Fields§
§global_id: &'a strThe GlobalId (IFC GUID); must parse as a valid base64-like GUID.
owner_history: Option<EntityId>The OwnerHistory reference, when supplied.
name: Option<&'a str>The Name attribute, when supplied.
description: Option<&'a str>The Description attribute, when supplied.
object_type: Option<&'a str>The ObjectType attribute. Required (non-empty) when predefined_type
is AnnotationType::UserDefined.
object_placement: Option<EntityId>The ObjectPlacement reference, when supplied.
representation: Option<EntityId>The Representation reference, when supplied.
predefined_type: Option<AnnotationType>The IFC4X3 PredefinedType, when supplied.
Trait Implementations§
Source§impl<'a> Clone for AnnotationDraft<'a>
impl<'a> Clone for AnnotationDraft<'a>
Source§impl<'a> Debug for AnnotationDraft<'a>
impl<'a> Debug for AnnotationDraft<'a>
Auto Trait Implementations§
impl<'a> Freeze for AnnotationDraft<'a>
impl<'a> RefUnwindSafe for AnnotationDraft<'a>
impl<'a> Send for AnnotationDraft<'a>
impl<'a> Sync for AnnotationDraft<'a>
impl<'a> Unpin for AnnotationDraft<'a>
impl<'a> UnsafeUnpin for AnnotationDraft<'a>
impl<'a> UnwindSafe for AnnotationDraft<'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