#[non_exhaustive]pub enum NameKind {
Job,
Step,
Parameter,
ExitCode,
}Expand description
The kind of validated domain name.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Job
A job definition name.
Step
A step definition name.
Parameter
A job-parameter name.
ExitCode
An exit-status code.
Trait Implementations§
impl Copy for NameKind
impl Eq for NameKind
Source§impl Ord for NameKind
impl Ord for NameKind
1.21.0 (const: unstable) · 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 PartialOrd for NameKind
impl PartialOrd for NameKind
impl StructuralPartialEq for NameKind
Auto Trait Implementations§
impl Freeze for NameKind
impl RefUnwindSafe for NameKind
impl Send for NameKind
impl Sync for NameKind
impl Unpin for NameKind
impl UnsafeUnpin for NameKind
impl UnwindSafe for NameKind
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