Enum google_api_proto::google::privacy::dlp::v2::data_risk_level::DataRiskLevelScore
source · #[repr(i32)]pub enum DataRiskLevelScore {
RiskScoreUnspecified = 0,
RiskLow = 10,
RiskModerate = 20,
RiskHigh = 30,
}
Expand description
Various score levels for resources.
Variants§
RiskScoreUnspecified = 0
Unused.
RiskLow = 10
Low risk - Lower indication of sensitive data that appears to have additional access restrictions in place or no indication of sensitive data found.
RiskModerate = 20
Medium risk - Sensitive data may be present but additional access or fine grain access restrictions appear to be present. Consider limiting access even further or transform data to mask.
RiskHigh = 30
High risk – SPII may be present. Access controls may include public ACLs. Exfiltration of data may lead to user data loss. Re-identification of users may be possible. Consider limiting usage and or removing SPII.
Implementations§
source§impl DataRiskLevelScore
impl DataRiskLevelScore
sourcepub fn as_str_name(&self) -> &'static str
pub fn as_str_name(&self) -> &'static str
String value of the enum field names used in the ProtoBuf definition.
The values are not transformed in any way and thus are considered stable (if the ProtoBuf definition does not change) and safe for programmatic use.
sourcepub fn from_str_name(value: &str) -> Option<Self>
pub fn from_str_name(value: &str) -> Option<Self>
Creates an enum from field names used in the ProtoBuf definition.
Trait Implementations§
source§impl Clone for DataRiskLevelScore
impl Clone for DataRiskLevelScore
source§fn clone(&self) -> DataRiskLevelScore
fn clone(&self) -> DataRiskLevelScore
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for DataRiskLevelScore
impl Debug for DataRiskLevelScore
source§impl Default for DataRiskLevelScore
impl Default for DataRiskLevelScore
source§fn default() -> DataRiskLevelScore
fn default() -> DataRiskLevelScore
source§impl From<DataRiskLevelScore> for i32
impl From<DataRiskLevelScore> for i32
source§fn from(value: DataRiskLevelScore) -> i32
fn from(value: DataRiskLevelScore) -> i32
source§impl Hash for DataRiskLevelScore
impl Hash for DataRiskLevelScore
source§impl Ord for DataRiskLevelScore
impl Ord for DataRiskLevelScore
source§fn cmp(&self, other: &DataRiskLevelScore) -> Ordering
fn cmp(&self, other: &DataRiskLevelScore) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
source§impl PartialEq for DataRiskLevelScore
impl PartialEq for DataRiskLevelScore
source§fn eq(&self, other: &DataRiskLevelScore) -> bool
fn eq(&self, other: &DataRiskLevelScore) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for DataRiskLevelScore
impl PartialOrd for DataRiskLevelScore
source§fn partial_cmp(&self, other: &DataRiskLevelScore) -> Option<Ordering>
fn partial_cmp(&self, other: &DataRiskLevelScore) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
self
and other
) and is used by the <=
operator. Read moresource§impl TryFrom<i32> for DataRiskLevelScore
impl TryFrom<i32> for DataRiskLevelScore
§type Error = DecodeError
type Error = DecodeError
source§fn try_from(value: i32) -> Result<DataRiskLevelScore, DecodeError>
fn try_from(value: i32) -> Result<DataRiskLevelScore, DecodeError>
impl Copy for DataRiskLevelScore
impl Eq for DataRiskLevelScore
impl StructuralPartialEq for DataRiskLevelScore
Auto Trait Implementations§
impl Freeze for DataRiskLevelScore
impl RefUnwindSafe for DataRiskLevelScore
impl Send for DataRiskLevelScore
impl Sync for DataRiskLevelScore
impl Unpin for DataRiskLevelScore
impl UnwindSafe for DataRiskLevelScore
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
§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key
and return true
if they are equal.§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key
and return true
if they are equal.§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T
in a tonic::Request