pub enum SciControlSystem {
Published(SciControlBare),
Custom(Box<str>),
}Expand description
Which kind of SCI control system a SciMarking anchors on.
This is a closed set of two variants: either a published bare system drawn from the live ODNI CVE, or an agency-allocated custom identifier (per CAPCO-2016 §A.6 p15).
Variants§
Published(SciControlBare)
One of the published bare control systems.
Custom(Box<str>)
An agency-allocated system matching [A-Z0-9]{2,5} (per CAPCO-2016
§A.6 p15 123 example). Stores the raw text exactly as it appeared
in the source.
Trait Implementations§
Source§impl Clone for SciControlSystem
impl Clone for SciControlSystem
Source§fn clone(&self) -> SciControlSystem
fn clone(&self) -> SciControlSystem
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 SciControlSystem
impl Debug for SciControlSystem
Source§impl PartialEq for SciControlSystem
impl PartialEq for SciControlSystem
impl Eq for SciControlSystem
impl StructuralPartialEq for SciControlSystem
Auto Trait Implementations§
impl Freeze for SciControlSystem
impl RefUnwindSafe for SciControlSystem
impl Send for SciControlSystem
impl Sync for SciControlSystem
impl Unpin for SciControlSystem
impl UnsafeUnpin for SciControlSystem
impl UnwindSafe for SciControlSystem
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