pub enum ClassificationV1 {
Public,
Internal,
Confidential,
Restricted,
}Expand description
The one classification lattice: Public < Internal < Confidential < Restricted.
Secrets and credentials are Restricted. There is deliberately no
Default: an unclassified object must be classified by the mode’s rule
(GatewayModeV1::unclassified), never by an implicit fallback.
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for ClassificationV1
impl Clone for ClassificationV1
impl Copy for ClassificationV1
Source§impl Debug for ClassificationV1
impl Debug for ClassificationV1
Source§impl<'de> Deserialize<'de> for ClassificationV1
impl<'de> Deserialize<'de> for ClassificationV1
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for ClassificationV1
Source§impl From<ClassificationLevel> for ClassificationV1
impl From<ClassificationLevel> for ClassificationV1
Source§fn from(value: ClassificationLevel) -> Self
fn from(value: ClassificationLevel) -> Self
Converts to this type from the input type.
Source§impl From<DataClassification> for ClassificationV1
impl From<DataClassification> for ClassificationV1
Source§fn from(value: DataClassification) -> Self
fn from(value: DataClassification) -> Self
Converts to this type from the input type.
Source§impl From<TeamClassification> for ClassificationV1
impl From<TeamClassification> for ClassificationV1
Source§fn from(value: TeamClassification) -> Self
fn from(value: TeamClassification) -> Self
Converts to this type from the input type.
Source§impl Hash for ClassificationV1
impl Hash for ClassificationV1
Source§impl Ord for ClassificationV1
impl Ord for ClassificationV1
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for ClassificationV1
impl PartialEq for ClassificationV1
Source§impl PartialOrd for ClassificationV1
impl PartialOrd for ClassificationV1
Source§impl Serialize for ClassificationV1
impl Serialize for ClassificationV1
impl StructuralPartialEq for ClassificationV1
Auto Trait Implementations§
impl Freeze for ClassificationV1
impl RefUnwindSafe for ClassificationV1
impl Send for ClassificationV1
impl Sync for ClassificationV1
impl Unpin for ClassificationV1
impl UnsafeUnpin for ClassificationV1
impl UnwindSafe for ClassificationV1
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