Enum ConfigProfile
pub enum ConfigProfile {
Local,
Development,
Test,
Staging,
Production,
Custom(String),
}Expand description
A primitive runtime or deployment profile name.
Variants§
Local
Local developer profile.
Development
Development profile.
Test
Test profile.
Staging
Staging profile.
Production
Production profile.
Custom(String)
Caller-defined profile name.
Trait Implementations§
§impl Clone for ConfigProfile
impl Clone for ConfigProfile
§fn clone(&self) -> ConfigProfile
fn clone(&self) -> ConfigProfile
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 more§impl Debug for ConfigProfile
impl Debug for ConfigProfile
§impl Display for ConfigProfile
impl Display for ConfigProfile
§impl FromStr for ConfigProfile
impl FromStr for ConfigProfile
§type Err = ConfigProfileError
type Err = ConfigProfileError
The associated error which can be returned from parsing.
§fn from_str(
input: &str,
) -> Result<ConfigProfile, <ConfigProfile as FromStr>::Err>
fn from_str( input: &str, ) -> Result<ConfigProfile, <ConfigProfile as FromStr>::Err>
Parses a string
s to return a value of this type. Read more§impl Hash for ConfigProfile
impl Hash for ConfigProfile
§impl Ord for ConfigProfile
impl Ord for ConfigProfile
§impl PartialEq for ConfigProfile
impl PartialEq for ConfigProfile
§impl PartialOrd for ConfigProfile
impl PartialOrd for ConfigProfile
impl Eq for ConfigProfile
impl StructuralPartialEq for ConfigProfile
Auto Trait Implementations§
impl Freeze for ConfigProfile
impl RefUnwindSafe for ConfigProfile
impl Send for ConfigProfile
impl Sync for ConfigProfile
impl Unpin for ConfigProfile
impl UnsafeUnpin for ConfigProfile
impl UnwindSafe for ConfigProfile
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