#[non_exhaustive]pub struct AdaptiveProtection {
pub confidence: f64,
/* private fields */
}Expand description
Information about Google Cloud Armor Adaptive Protection.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.confidence: f64A score of 0 means that there is low confidence that the detected event is an actual attack. A score of 1 means that there is high confidence that the detected event is an attack. See the Adaptive Protection documentation for further explanation.
Implementations§
Source§impl AdaptiveProtection
impl AdaptiveProtection
Trait Implementations§
Source§impl Clone for AdaptiveProtection
impl Clone for AdaptiveProtection
Source§fn clone(&self) -> AdaptiveProtection
fn clone(&self) -> AdaptiveProtection
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 AdaptiveProtection
impl Debug for AdaptiveProtection
Source§impl Default for AdaptiveProtection
impl Default for AdaptiveProtection
Source§fn default() -> AdaptiveProtection
fn default() -> AdaptiveProtection
Returns the “default value” for a type. Read more
Source§impl Message for AdaptiveProtection
impl Message for AdaptiveProtection
Source§impl PartialEq for AdaptiveProtection
impl PartialEq for AdaptiveProtection
impl StructuralPartialEq for AdaptiveProtection
Auto Trait Implementations§
impl Freeze for AdaptiveProtection
impl RefUnwindSafe for AdaptiveProtection
impl Send for AdaptiveProtection
impl Sync for AdaptiveProtection
impl Unpin for AdaptiveProtection
impl UnsafeUnpin for AdaptiveProtection
impl UnwindSafe for AdaptiveProtection
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