pub struct AdaptiveProtection {
pub confidence: Option<f64>,
}Expand description
Information about Google Cloud Armor Adaptive Protection.
This type is not used in any activity, and only used as part of another schema.
Fields§
§confidence: Option<f64>A 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.
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<'de> Deserialize<'de> for AdaptiveProtection
impl<'de> Deserialize<'de> for AdaptiveProtection
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
Source§impl Serialize for AdaptiveProtection
impl Serialize for AdaptiveProtection
impl Part 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 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