pub struct DdosProtectionAttributeValue {
pub value: Option<String>,
pub percentage: Option<i32>,
}
Fields§
§value: Option<String>
§percentage: Option<i32>
Percentage of traffic containing a value.
Implementations§
Source§impl DdosProtectionAttributeValue
impl DdosProtectionAttributeValue
pub fn new() -> DdosProtectionAttributeValue
Trait Implementations§
Source§impl Clone for DdosProtectionAttributeValue
impl Clone for DdosProtectionAttributeValue
Source§fn clone(&self) -> DdosProtectionAttributeValue
fn clone(&self) -> DdosProtectionAttributeValue
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 DdosProtectionAttributeValue
impl Debug for DdosProtectionAttributeValue
Source§impl Default for DdosProtectionAttributeValue
impl Default for DdosProtectionAttributeValue
Source§fn default() -> DdosProtectionAttributeValue
fn default() -> DdosProtectionAttributeValue
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for DdosProtectionAttributeValue
impl<'de> Deserialize<'de> for DdosProtectionAttributeValue
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 PartialEq for DdosProtectionAttributeValue
impl PartialEq for DdosProtectionAttributeValue
Source§fn eq(&self, other: &DdosProtectionAttributeValue) -> bool
fn eq(&self, other: &DdosProtectionAttributeValue) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for DdosProtectionAttributeValue
Auto Trait Implementations§
impl Freeze for DdosProtectionAttributeValue
impl RefUnwindSafe for DdosProtectionAttributeValue
impl Send for DdosProtectionAttributeValue
impl Sync for DdosProtectionAttributeValue
impl Unpin for DdosProtectionAttributeValue
impl UnwindSafe for DdosProtectionAttributeValue
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