Enum googapis::google::privacy::dlp::v2::custom_info_type::detection_rule::likelihood_adjustment::Adjustment [−][src]
Variants
FixedLikelihood(i32)
Set the likelihood of a finding to a fixed value.
Tuple Fields of FixedLikelihood
0: i32
RelativeLikelihood(i32)
Increase or decrease the likelihood by the specified number of
levels. For example, if a finding would be POSSIBLE
without the
detection rule and relative_likelihood
is 1, then it is upgraded to
LIKELY
, while a value of -1 would downgrade it to UNLIKELY
.
Likelihood may never drop below VERY_UNLIKELY
or exceed
VERY_LIKELY
, so applying an adjustment of 1 followed by an
adjustment of -1 when base likelihood is VERY_LIKELY
will result in
a final likelihood of LIKELY
.
Tuple Fields of RelativeLikelihood
0: i32
Implementations
pub fn merge<B>(
field: &mut Option<Adjustment>,
tag: u32,
wire_type: WireType,
buf: &mut B,
ctx: DecodeContext
) -> Result<(), DecodeError> where
B: Buf,
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for Adjustment
impl Send for Adjustment
impl Sync for Adjustment
impl Unpin for Adjustment
impl UnwindSafe for Adjustment
Blanket Implementations
Mutably borrows from an owned value. Read more
Wrap the input message T
in a tonic::Request
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more