pub struct DockerImageConfig {
pub tech_stack: String,
pub agent: String,
pub project: String,
}Expand description
Configuration for Docker image composition
Fields§
§tech_stack: StringTechnology stack name (e.g., “rust”, “python”, “node”)
agent: StringAgent name (e.g., “claude”, “aider”)
project: StringProject name (e.g., “web-api”, “cli-tool”)
Implementations§
Source§impl DockerImageConfig
impl DockerImageConfig
Sourcepub fn new(tech_stack: String, agent: String, project: String) -> Self
pub fn new(tech_stack: String, agent: String, project: String) -> Self
Creates a new DockerImageConfig
Sourcepub fn default_config() -> Self
pub fn default_config() -> Self
Creates a default configuration
Sourcepub fn get_layers(&self) -> Vec<DockerLayer>
pub fn get_layers(&self) -> Vec<DockerLayer>
Get all layers needed for this configuration in order
Trait Implementations§
Source§impl Clone for DockerImageConfig
impl Clone for DockerImageConfig
Source§fn clone(&self) -> DockerImageConfig
fn clone(&self) -> DockerImageConfig
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for DockerImageConfig
impl Debug for DockerImageConfig
Source§impl<'de> Deserialize<'de> for DockerImageConfig
impl<'de> Deserialize<'de> for DockerImageConfig
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 DockerImageConfig
impl RefUnwindSafe for DockerImageConfig
impl Send for DockerImageConfig
impl Sync for DockerImageConfig
impl Unpin for DockerImageConfig
impl UnwindSafe for DockerImageConfig
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