Struct aws_sdk_elasticsearch::model::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
sourceimpl 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
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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more