pub struct EnvironmentConfig {
pub image: Option<String>,
pub build: Option<BuildConfig>,
pub container_name: Option<String>,
pub project_mount: Option<String>,
pub workdir: Option<String>,
pub env: BTreeMap<String, String>,
pub preserve_env: Vec<String>,
pub mounts: Vec<MountConfig>,
pub shell: Option<Vec<String>>,
pub startup_command: Option<Vec<String>>,
pub default_command: Option<Vec<String>>,
}Fields§
§image: Option<String>§build: Option<BuildConfig>§container_name: Option<String>§project_mount: Option<String>§workdir: Option<String>§env: BTreeMap<String, String>§preserve_env: Vec<String>§mounts: Vec<MountConfig>§shell: Option<Vec<String>>§startup_command: Option<Vec<String>>§default_command: Option<Vec<String>>Trait Implementations§
Source§impl Clone for EnvironmentConfig
impl Clone for EnvironmentConfig
Source§fn clone(&self) -> EnvironmentConfig
fn clone(&self) -> EnvironmentConfig
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 EnvironmentConfig
impl Debug for EnvironmentConfig
Source§impl<'de> Deserialize<'de> for EnvironmentConfig
impl<'de> Deserialize<'de> for EnvironmentConfig
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
impl Eq for EnvironmentConfig
Source§impl PartialEq for EnvironmentConfig
impl PartialEq for EnvironmentConfig
Source§fn eq(&self, other: &EnvironmentConfig) -> bool
fn eq(&self, other: &EnvironmentConfig) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for EnvironmentConfig
impl Serialize for EnvironmentConfig
impl StructuralPartialEq for EnvironmentConfig
Auto Trait Implementations§
impl Freeze for EnvironmentConfig
impl RefUnwindSafe for EnvironmentConfig
impl Send for EnvironmentConfig
impl Sync for EnvironmentConfig
impl Unpin for EnvironmentConfig
impl UnsafeUnpin for EnvironmentConfig
impl UnwindSafe for EnvironmentConfig
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<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.