pub struct RuleEntry {
pub kind: DocumentKind,
pub id: Option<String>,
pub name: Option<String>,
pub title: String,
pub origin: RuleOrigin,
pub decision: Decision,
pub overlays: Vec<AppliedOverlay>,
}Expand description
Why one candidate is in or out of the resolved collection.
Fields§
§kind: DocumentKindThe document kind.
id: Option<String>The document id.
name: Option<String>The document name.
title: StringThe document title.
origin: RuleOriginWhere the document was read from.
decision: DecisionWhether and why the document is kept.
overlays: Vec<AppliedOverlay>Overlays applied to the document, in order.
Trait Implementations§
Auto Trait Implementations§
impl Forget for RuleEntry
impl Freeze for RuleEntry
impl Move for RuleEntry
impl RefUnwindSafe for RuleEntry
impl Send for RuleEntry
impl Sync for RuleEntry
impl Unpin for RuleEntry
impl UnsafeUnpin for RuleEntry
impl UnwindSafe for RuleEntry
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