pub struct ResolvedEnvironment {Show 14 fields
pub project_name: String,
pub environment_name: String,
pub container_name: String,
pub image: String,
pub project_root: PathBuf,
pub project_mount: String,
pub workdir: String,
pub env: BTreeMap<String, String>,
pub mounts: Vec<ResolvedMount>,
pub user: ResolvedUser,
pub shell: Vec<String>,
pub startup_command: Vec<String>,
pub default_command: Option<Vec<String>>,
pub build: Option<ResolvedBuild>,
}Fields§
§project_name: String§environment_name: String§container_name: String§image: String§project_root: PathBuf§project_mount: String§workdir: String§env: BTreeMap<String, String>§mounts: Vec<ResolvedMount>§user: ResolvedUser§shell: Vec<String>§startup_command: Vec<String>§default_command: Option<Vec<String>>§build: Option<ResolvedBuild>Implementations§
Source§impl ResolvedEnvironment
impl ResolvedEnvironment
pub fn resolve( project_root: &Path, project_config: &ProjectConfig, env_name: &str, config: &EnvironmentConfig, ) -> Self
Trait Implementations§
Source§impl Clone for ResolvedEnvironment
impl Clone for ResolvedEnvironment
Source§fn clone(&self) -> ResolvedEnvironment
fn clone(&self) -> ResolvedEnvironment
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 ResolvedEnvironment
impl Debug for ResolvedEnvironment
impl Eq for ResolvedEnvironment
Source§impl PartialEq for ResolvedEnvironment
impl PartialEq for ResolvedEnvironment
Source§fn eq(&self, other: &ResolvedEnvironment) -> bool
fn eq(&self, other: &ResolvedEnvironment) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ResolvedEnvironment
Auto Trait Implementations§
impl Freeze for ResolvedEnvironment
impl RefUnwindSafe for ResolvedEnvironment
impl Send for ResolvedEnvironment
impl Sync for ResolvedEnvironment
impl Unpin for ResolvedEnvironment
impl UnsafeUnpin for ResolvedEnvironment
impl UnwindSafe for ResolvedEnvironment
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,
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.