#[non_exhaustive]pub struct RuleDetail {
pub release: String,
pub scope: RuleScope,
pub label: String,
pub outcome: RuleOutcome,
}Expand description
One EXPRESS rule result.
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.release: StringThe schema the rule text came from, as its SCHEMA line names it
(IFC4, IFC4X3_ADD2).
scope: RuleScopeThe declaration the rule belongs to.
label: StringThe rule’s label as the schema writes it (WR11,
CorrectItemsForType).
outcome: RuleOutcomeWhat evaluation concluded.
Trait Implementations§
Source§impl Clone for RuleDetail
impl Clone for RuleDetail
Source§fn clone(&self) -> RuleDetail
fn clone(&self) -> RuleDetail
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for RuleDetail
impl Debug for RuleDetail
impl Eq for RuleDetail
Source§impl PartialEq for RuleDetail
impl PartialEq for RuleDetail
impl StructuralPartialEq for RuleDetail
Auto Trait Implementations§
impl Freeze for RuleDetail
impl RefUnwindSafe for RuleDetail
impl Send for RuleDetail
impl Sync for RuleDetail
impl Unpin for RuleDetail
impl UnsafeUnpin for RuleDetail
impl UnwindSafe for RuleDetail
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