#[non_exhaustive]pub struct WorkTime {
pub id: EntityId,
pub role: WorkTimeRole,
pub name: Option<String>,
pub data_origin: Option<String>,
pub user_defined_data_origin: Option<String>,
pub start: Option<String>,
pub finish: Option<String>,
pub recurrence: Option<Recurrence>,
}Expand description
One working or exception period.
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.id: EntityIdThe IfcWorkTime entity.
role: WorkTimeRoleWhether this declares work or an exception.
name: Option<String>The period name, as authored.
data_origin: Option<String>DataOrigin (IfcDataOriginEnum), the token without its dots
(#234).
user_defined_data_origin: Option<String>UserDefinedDataOrigin, as authored (#234).
start: Option<String>Start date, as authored: IFC4’s Start, IFC4X3’s StartDate.
finish: Option<String>Finish date, as authored: IFC4’s Finish, IFC4X3’s FinishDate.
recurrence: Option<Recurrence>The recurrence pattern, if the period repeats.
Trait Implementations§
impl StructuralPartialEq for WorkTime
Auto Trait Implementations§
impl Freeze for WorkTime
impl RefUnwindSafe for WorkTime
impl Send for WorkTime
impl Sync for WorkTime
impl Unpin for WorkTime
impl UnsafeUnpin for WorkTime
impl UnwindSafe for WorkTime
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