#[non_exhaustive]pub struct AttackStatisticsDataItemBuilder { /* private fields */ }
Expand description
A builder for AttackStatisticsDataItem
.
Implementations§
source§impl AttackStatisticsDataItemBuilder
impl AttackStatisticsDataItemBuilder
sourcepub fn attack_volume(self, input: AttackVolume) -> Self
pub fn attack_volume(self, input: AttackVolume) -> Self
Information about the volume of attacks during the time period. If the accompanying AttackCount
is zero, this setting might be empty.
sourcepub fn set_attack_volume(self, input: Option<AttackVolume>) -> Self
pub fn set_attack_volume(self, input: Option<AttackVolume>) -> Self
Information about the volume of attacks during the time period. If the accompanying AttackCount
is zero, this setting might be empty.
sourcepub fn get_attack_volume(&self) -> &Option<AttackVolume>
pub fn get_attack_volume(&self) -> &Option<AttackVolume>
Information about the volume of attacks during the time period. If the accompanying AttackCount
is zero, this setting might be empty.
sourcepub fn attack_count(self, input: i64) -> Self
pub fn attack_count(self, input: i64) -> Self
The number of attacks detected during the time period. This is always present, but might be zero.
This field is required.sourcepub fn set_attack_count(self, input: Option<i64>) -> Self
pub fn set_attack_count(self, input: Option<i64>) -> Self
The number of attacks detected during the time period. This is always present, but might be zero.
sourcepub fn get_attack_count(&self) -> &Option<i64>
pub fn get_attack_count(&self) -> &Option<i64>
The number of attacks detected during the time period. This is always present, but might be zero.
sourcepub fn build(self) -> AttackStatisticsDataItem
pub fn build(self) -> AttackStatisticsDataItem
Consumes the builder and constructs a AttackStatisticsDataItem
.
Trait Implementations§
source§impl Clone for AttackStatisticsDataItemBuilder
impl Clone for AttackStatisticsDataItemBuilder
source§fn clone(&self) -> AttackStatisticsDataItemBuilder
fn clone(&self) -> AttackStatisticsDataItemBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for AttackStatisticsDataItemBuilder
impl Default for AttackStatisticsDataItemBuilder
source§fn default() -> AttackStatisticsDataItemBuilder
fn default() -> AttackStatisticsDataItemBuilder
source§impl PartialEq for AttackStatisticsDataItemBuilder
impl PartialEq for AttackStatisticsDataItemBuilder
source§fn eq(&self, other: &AttackStatisticsDataItemBuilder) -> bool
fn eq(&self, other: &AttackStatisticsDataItemBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.