pub enum EnvironmentType {
Production {
tier: String,
region: String,
criticality: f64,
},
Staging {
mirrors_production: bool,
data_freshness: String,
},
Development {
developer: String,
local: bool,
},
Testing {
test_type: String,
isolation: bool,
},
Pipeline {
pipeline_id: String,
stage: String,
},
Sandbox {
owner: String,
expires: Option<i64>,
},
Simulation {
fidelity: String,
purpose: String,
},
Preview {
traffic_percentage: f64,
rollback_ready: bool,
},
DisasterRecovery {
is_active_failover: bool,
primary_region: String,
},
Unknown {
clues: Vec<String>,
},
}Expand description
What kind of environment the agent operates in.
Variants§
Production
Staging
Development
Testing
Pipeline
Sandbox
Simulation
Preview
DisasterRecovery
Unknown
Trait Implementations§
Source§impl Clone for EnvironmentType
impl Clone for EnvironmentType
Source§fn clone(&self) -> EnvironmentType
fn clone(&self) -> EnvironmentType
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 EnvironmentType
impl Debug for EnvironmentType
Source§impl<'de> Deserialize<'de> for EnvironmentType
impl<'de> Deserialize<'de> for EnvironmentType
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for EnvironmentType
impl RefUnwindSafe for EnvironmentType
impl Send for EnvironmentType
impl Sync for EnvironmentType
impl Unpin for EnvironmentType
impl UnsafeUnpin for EnvironmentType
impl UnwindSafe for EnvironmentType
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