Struct aws_sdk_securityhub::types::DateRange
source · #[non_exhaustive]pub struct DateRange {
pub value: i32,
pub unit: Option<DateRangeUnit>,
}
Expand description
A date range for the date filter.
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.value: i32
A date range value for the date filter.
unit: Option<DateRangeUnit>
A date range unit for the date filter.
Implementations§
Trait Implementations§
source§impl PartialEq for DateRange
impl PartialEq for DateRange
impl StructuralPartialEq for DateRange
Auto Trait Implementations§
impl RefUnwindSafe for DateRange
impl Send for DateRange
impl Sync for DateRange
impl Unpin for DateRange
impl UnwindSafe for DateRange
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