pub struct SecurityClassification<'m> { /* private fields */ }Expand description
A security classification assigned to a part — its confidentiality level
(confidential, export-controlled, …) and the reason for it.
Implementations§
Source§impl<'m> SecurityClassification<'m>
impl<'m> SecurityClassification<'m>
Sourcepub fn key(&self) -> EntityKey
pub fn key(&self) -> EntityKey
This classification’s global identity (a Copy key for maps / dedup).
Sourcepub fn assigned_scope(&self) -> Scope
pub fn assigned_scope(&self) -> Scope
Which level of the product structure this classification attaches to.
Sourcepub fn assigned_targets(&self) -> Vec<Target<'m>>
pub fn assigned_targets(&self) -> Vec<Target<'m>>
The exact product-structure entities this classification is assigned to (across every assignment that carries it).
Trait Implementations§
Source§impl<'m> Clone for SecurityClassification<'m>
impl<'m> Clone for SecurityClassification<'m>
Source§fn clone(&self) -> SecurityClassification<'m>
fn clone(&self) -> SecurityClassification<'m>
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 moreimpl<'m> Copy for SecurityClassification<'m>
Auto Trait Implementations§
impl<'m> Freeze for SecurityClassification<'m>
impl<'m> RefUnwindSafe for SecurityClassification<'m>
impl<'m> Send for SecurityClassification<'m>
impl<'m> Sync for SecurityClassification<'m>
impl<'m> Unpin for SecurityClassification<'m>
impl<'m> UnsafeUnpin for SecurityClassification<'m>
impl<'m> UnwindSafe for SecurityClassification<'m>
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