#[non_exhaustive]pub enum ControlKind {
Permit,
ProjectOrder,
ActionRequest,
PerformanceHistory,
}Expand description
Which control is being staged.
A single enum rather than four writers: the four differ only in
type name, predefined-type enum, and whether they carry the
Status/LongDescription tail. Four near-identical functions
would drift apart on the next schema revision.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Permit
IfcPermit: authorisation to proceed.
ProjectOrder
IfcProjectOrder: an instruction to carry work out.
ActionRequest
IfcActionRequest: a request that work be done.
PerformanceHistory
IfcPerformanceHistory: recorded in-use behaviour.
Implementations§
Trait Implementations§
Source§impl Clone for ControlKind
impl Clone for ControlKind
impl Copy for ControlKind
Source§impl Debug for ControlKind
impl Debug for ControlKind
impl Eq for ControlKind
Source§impl PartialEq for ControlKind
impl PartialEq for ControlKind
impl StructuralPartialEq for ControlKind
Auto Trait Implementations§
impl Freeze for ControlKind
impl RefUnwindSafe for ControlKind
impl Send for ControlKind
impl Sync for ControlKind
impl Unpin for ControlKind
impl UnsafeUnpin for ControlKind
impl UnwindSafe for ControlKind
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