pub struct AssetDraft<'a> {Show 13 fields
pub global_id: &'a str,
pub name: Option<&'a str>,
pub description: Option<&'a str>,
pub object_type: Option<&'a str>,
pub identification: Option<&'a str>,
pub original_value: Option<EntityId>,
pub current_value: Option<EntityId>,
pub total_replacement_cost: Option<EntityId>,
pub owner: Option<EntityId>,
pub user: Option<EntityId>,
pub responsible_person: Option<EntityId>,
pub incorporation_date: Option<&'a str>,
pub depreciated_value: Option<EntityId>,
}Expand description
Attributes of an IfcAsset.
Every attribute past the group slots is optional: an asset is the accounting view of things modelled elsewhere, and a register may know an item’s owner long before it knows its depreciated value.
Fields§
§global_id: &'a strGlobalId, a compressed IFC GUID.
name: Option<&'a str>Name.
description: Option<&'a str>Description.
object_type: Option<&'a str>ObjectType.
identification: Option<&'a str>Identification: the asset register’s own number.
original_value: Option<EntityId>OriginalValue, an IfcCostValue.
current_value: Option<EntityId>CurrentValue, an IfcCostValue.
total_replacement_cost: Option<EntityId>TotalReplacementCost, an IfcCostValue.
owner: Option<EntityId>Owner, an IfcActorSelect.
user: Option<EntityId>User, an IfcActorSelect.
responsible_person: Option<EntityId>ResponsiblePerson, an IfcPerson.
incorporation_date: Option<&'a str>IncorporationDate, an IfcDate in ISO 8601 form.
depreciated_value: Option<EntityId>DepreciatedValue, an IfcCostValue.
Trait Implementations§
Source§impl<'a> Clone for AssetDraft<'a>
impl<'a> Clone for AssetDraft<'a>
impl<'a> Copy for AssetDraft<'a>
Source§impl<'a> Debug for AssetDraft<'a>
impl<'a> Debug for AssetDraft<'a>
Auto Trait Implementations§
impl<'a> Freeze for AssetDraft<'a>
impl<'a> RefUnwindSafe for AssetDraft<'a>
impl<'a> Send for AssetDraft<'a>
impl<'a> Sync for AssetDraft<'a>
impl<'a> Unpin for AssetDraft<'a>
impl<'a> UnsafeUnpin for AssetDraft<'a>
impl<'a> UnwindSafe for AssetDraft<'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