pub struct DevelopmentStage { /* private fields */ }Expand description
A descriptive development stage record.
Implementations§
Source§impl DevelopmentStage
impl DevelopmentStage
Sourcepub fn with_label(
self,
label: impl AsRef<str>,
) -> Result<Self, DevelopmentStageError>
pub fn with_label( self, label: impl AsRef<str>, ) -> Result<Self, DevelopmentStageError>
Adds a descriptive non-empty label.
§Errors
Returns DevelopmentStageError::Empty when the trimmed label is empty.
Trait Implementations§
Source§impl Clone for DevelopmentStage
impl Clone for DevelopmentStage
Source§fn clone(&self) -> DevelopmentStage
fn clone(&self) -> DevelopmentStage
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 DevelopmentStage
impl Debug for DevelopmentStage
Source§impl Display for DevelopmentStage
impl Display for DevelopmentStage
Source§impl Hash for DevelopmentStage
impl Hash for DevelopmentStage
Source§impl Ord for DevelopmentStage
impl Ord for DevelopmentStage
Source§fn cmp(&self, other: &DevelopmentStage) -> Ordering
fn cmp(&self, other: &DevelopmentStage) -> 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 DevelopmentStage
impl PartialEq for DevelopmentStage
Source§impl PartialOrd for DevelopmentStage
impl PartialOrd for DevelopmentStage
impl Eq for DevelopmentStage
impl StructuralPartialEq for DevelopmentStage
Auto Trait Implementations§
impl Freeze for DevelopmentStage
impl RefUnwindSafe for DevelopmentStage
impl Send for DevelopmentStage
impl Sync for DevelopmentStage
impl Unpin for DevelopmentStage
impl UnsafeUnpin for DevelopmentStage
impl UnwindSafe for DevelopmentStage
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