pub struct DurationSpec(/* private fields */);Expand description
A Docker duration string such as 30s, 1m, or 500ms.
Implementations§
Trait Implementations§
Source§impl AsRef<str> for DurationSpec
impl AsRef<str> for DurationSpec
Source§impl Clone for DurationSpec
impl Clone for DurationSpec
Source§fn clone(&self) -> DurationSpec
fn clone(&self) -> DurationSpec
Returns a duplicate 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 Debug for DurationSpec
impl Debug for DurationSpec
Source§impl Display for DurationSpec
impl Display for DurationSpec
Source§impl FromStr for DurationSpec
impl FromStr for DurationSpec
Source§impl Hash for DurationSpec
impl Hash for DurationSpec
Source§impl Ord for DurationSpec
impl Ord for DurationSpec
Source§fn cmp(&self, other: &DurationSpec) -> Ordering
fn cmp(&self, other: &DurationSpec) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for DurationSpec
impl PartialEq for DurationSpec
Source§impl PartialOrd for DurationSpec
impl PartialOrd for DurationSpec
impl Eq for DurationSpec
impl StructuralPartialEq for DurationSpec
Auto Trait Implementations§
impl Freeze for DurationSpec
impl RefUnwindSafe for DurationSpec
impl Send for DurationSpec
impl Sync for DurationSpec
impl Unpin for DurationSpec
impl UnsafeUnpin for DurationSpec
impl UnwindSafe for DurationSpec
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