#[non_exhaustive]pub struct ProfileDraft<'a> {
pub name: Option<&'a str>,
pub description: Option<&'a str>,
pub material: Option<EntityId>,
pub profile: EntityId,
pub priority: Option<i64>,
pub category: Option<&'a str>,
}Expand description
Authored fields for IfcMaterialProfile.
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>IfcMaterialProfile.Name, if given.
description: Option<&'a str>IfcMaterialProfile.Description, if given.
material: Option<EntityId>IfcMaterialProfile.Material, an IfcMaterial reference, if given.
profile: EntityIdIfcMaterialProfile.Profile, an IfcProfileDef reference.
priority: Option<i64>IfcMaterialProfile.Priority, if given. Must be in 0..=100.
category: Option<&'a str>IfcMaterialProfile.Category, if given.
Implementations§
Source§impl<'a> ProfileDraft<'a>
impl<'a> ProfileDraft<'a>
Trait Implementations§
Source§impl<'a> Clone for ProfileDraft<'a>
impl<'a> Clone for ProfileDraft<'a>
impl<'a> Copy for ProfileDraft<'a>
Auto Trait Implementations§
impl<'a> Freeze for ProfileDraft<'a>
impl<'a> RefUnwindSafe for ProfileDraft<'a>
impl<'a> Send for ProfileDraft<'a>
impl<'a> Sync for ProfileDraft<'a>
impl<'a> Unpin for ProfileDraft<'a>
impl<'a> UnsafeUnpin for ProfileDraft<'a>
impl<'a> UnwindSafe for ProfileDraft<'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