#[non_exhaustive]pub struct ViolationEventOccurrenceRangeBuilder { /* private fields */ }
Expand description
A builder for ViolationEventOccurrenceRange
.
Implementations§
source§impl ViolationEventOccurrenceRangeBuilder
impl ViolationEventOccurrenceRangeBuilder
sourcepub fn start_time(self, input: DateTime) -> Self
pub fn start_time(self, input: DateTime) -> Self
The start date and time of a time period in which violation events occurred.
sourcepub fn set_start_time(self, input: Option<DateTime>) -> Self
pub fn set_start_time(self, input: Option<DateTime>) -> Self
The start date and time of a time period in which violation events occurred.
sourcepub fn end_time(self, input: DateTime) -> Self
pub fn end_time(self, input: DateTime) -> Self
The end date and time of a time period in which violation events occurred.
sourcepub fn set_end_time(self, input: Option<DateTime>) -> Self
pub fn set_end_time(self, input: Option<DateTime>) -> Self
The end date and time of a time period in which violation events occurred.
sourcepub fn build(self) -> ViolationEventOccurrenceRange
pub fn build(self) -> ViolationEventOccurrenceRange
Consumes the builder and constructs a ViolationEventOccurrenceRange
.
Trait Implementations§
source§impl Clone for ViolationEventOccurrenceRangeBuilder
impl Clone for ViolationEventOccurrenceRangeBuilder
source§fn clone(&self) -> ViolationEventOccurrenceRangeBuilder
fn clone(&self) -> ViolationEventOccurrenceRangeBuilder
Returns a copy 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 Default for ViolationEventOccurrenceRangeBuilder
impl Default for ViolationEventOccurrenceRangeBuilder
source§fn default() -> ViolationEventOccurrenceRangeBuilder
fn default() -> ViolationEventOccurrenceRangeBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<ViolationEventOccurrenceRangeBuilder> for ViolationEventOccurrenceRangeBuilder
impl PartialEq<ViolationEventOccurrenceRangeBuilder> for ViolationEventOccurrenceRangeBuilder
source§fn eq(&self, other: &ViolationEventOccurrenceRangeBuilder) -> bool
fn eq(&self, other: &ViolationEventOccurrenceRangeBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.