pub struct EnvironmentName(String);Expand description
The name of a deployment environment, which is never empty.
Tuple Fields§
§0: StringImplementations§
Trait Implementations§
Source§impl AsRef<str> for EnvironmentName
impl AsRef<str> for EnvironmentName
Source§impl Borrow<str> for EnvironmentName
impl Borrow<str> for EnvironmentName
Source§impl Clone for EnvironmentName
impl Clone for EnvironmentName
Source§fn clone(&self) -> EnvironmentName
fn clone(&self) -> EnvironmentName
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 EnvironmentName
impl Debug for EnvironmentName
Source§impl Display for EnvironmentName
impl Display for EnvironmentName
impl Eq for EnvironmentName
Source§impl<'ʄ> Facet<'ʄ> for EnvironmentName
impl<'ʄ> Facet<'ʄ> for EnvironmentName
Source§impl From<&EnvironmentName> for String
impl From<&EnvironmentName> for String
Source§fn from(value: &EnvironmentName) -> Self
fn from(value: &EnvironmentName) -> Self
Converts to this type from the input type.
Source§impl Ord for EnvironmentName
impl Ord for EnvironmentName
Source§fn cmp(&self, other: &EnvironmentName) -> Ordering
fn cmp(&self, other: &EnvironmentName) -> Ordering
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
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for EnvironmentName
impl PartialEq for EnvironmentName
Source§impl PartialOrd for EnvironmentName
impl PartialOrd for EnvironmentName
impl StructuralPartialEq for EnvironmentName
Auto Trait Implementations§
impl Freeze for EnvironmentName
impl RefUnwindSafe for EnvironmentName
impl Send for EnvironmentName
impl Sync for EnvironmentName
impl Unpin for EnvironmentName
impl UnsafeUnpin for EnvironmentName
impl UnwindSafe for EnvironmentName
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.