pub enum MarkingType {
Portion,
Banner,
Cab,
PageBreak,
}Expand description
Classification marking candidate type, determined by scanner heuristics.
Variants§
Portion
(TS//SI//NF) — parenthesized, typically at paragraph start.
Banner
TOP SECRET//SENSITIVE INTELLIGENCE//NOFORN — standalone line.
Cab
Multi-line Classification Authority Block (Classified By / Derived From / Declassify On).
PageBreak
Document page break — \f (form feed) or \n\n\n+ heuristic.
Carries a zero-length span at the boundary offset. The engine uses
this to reset its PageContext so banner/CAB rules on the next page
see a fresh aggregate (Phase 3, plan §Task 1).
Trait Implementations§
Source§impl Clone for MarkingType
impl Clone for MarkingType
Source§fn clone(&self) -> MarkingType
fn clone(&self) -> MarkingType
Returns a duplicate of the value. Read more
1.0.0 · 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 MarkingType
impl Debug for MarkingType
Source§impl PartialEq for MarkingType
impl PartialEq for MarkingType
impl Copy for MarkingType
impl Eq for MarkingType
impl StructuralPartialEq for MarkingType
Auto Trait Implementations§
impl Freeze for MarkingType
impl RefUnwindSafe for MarkingType
impl Send for MarkingType
impl Sync for MarkingType
impl Unpin for MarkingType
impl UnsafeUnpin for MarkingType
impl UnwindSafe for MarkingType
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