pub enum DeploymentEnvironment {
Local,
Testing,
Staging,
Production,
}Expand description
The deployment environment attached to configuration and telemetry signals.
Variants§
Local
A developer workstation or other local process.
Testing
A deployed environment used for integration and acceptance testing.
Staging
A deployed pre-production process.
Production
A deployed production process.
Trait Implementations§
Source§impl Clone for DeploymentEnvironment
impl Clone for DeploymentEnvironment
Source§fn clone(&self) -> DeploymentEnvironment
fn clone(&self) -> DeploymentEnvironment
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 moreimpl Copy for DeploymentEnvironment
Source§impl Debug for DeploymentEnvironment
impl Debug for DeploymentEnvironment
Source§impl Default for DeploymentEnvironment
impl Default for DeploymentEnvironment
Source§fn default() -> DeploymentEnvironment
fn default() -> DeploymentEnvironment
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for DeploymentEnvironment
impl<'de> Deserialize<'de> for DeploymentEnvironment
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<DeploymentEnvironment, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<DeploymentEnvironment, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for DeploymentEnvironment
impl Display for DeploymentEnvironment
impl Eq for DeploymentEnvironment
Source§impl FromStr for DeploymentEnvironment
impl FromStr for DeploymentEnvironment
Source§type Err = ParseEnvironmentError
type Err = ParseEnvironmentError
The associated error which can be returned from parsing.
Source§fn from_str(
value: &str,
) -> Result<DeploymentEnvironment, <DeploymentEnvironment as FromStr>::Err>
fn from_str( value: &str, ) -> Result<DeploymentEnvironment, <DeploymentEnvironment as FromStr>::Err>
Parses a string
s to return a value of this type. Read moreSource§impl PartialEq for DeploymentEnvironment
impl PartialEq for DeploymentEnvironment
Source§impl Serialize for DeploymentEnvironment
impl Serialize for DeploymentEnvironment
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for DeploymentEnvironment
Auto Trait Implementations§
impl Freeze for DeploymentEnvironment
impl RefUnwindSafe for DeploymentEnvironment
impl Send for DeploymentEnvironment
impl Sync for DeploymentEnvironment
impl Unpin for DeploymentEnvironment
impl UnsafeUnpin for DeploymentEnvironment
impl UnwindSafe for DeploymentEnvironment
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