Struct aws_sdk_elasticsearch::types::Duration
source · #[non_exhaustive]pub struct Duration { /* private fields */ }
Expand description
Specifies maintenance schedule duration: duration value and duration unit. See the Developer Guide for more information.
Implementations§
source§impl Duration
impl Duration
sourcepub fn value(&self) -> i64
pub fn value(&self) -> i64
Integer to specify the value of a maintenance schedule duration. See the Developer Guide for more information.
sourcepub fn unit(&self) -> Option<&TimeUnit>
pub fn unit(&self) -> Option<&TimeUnit>
Specifies the unit of a maintenance schedule duration. Valid value is HOURS. See the Developer Guide for more information.
Trait Implementations§
source§impl PartialEq<Duration> for Duration
impl PartialEq<Duration> for Duration
impl StructuralPartialEq for Duration
Auto Trait Implementations§
impl RefUnwindSafe for Duration
impl Send for Duration
impl Sync for Duration
impl Unpin for Duration
impl UnwindSafe for Duration
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