pub struct DockerExecutableConfig {
pub image: String,
pub env: HashMap<String, String>,
pub credentials: Option<DockerCredentials>,
pub resource_limits: ResourceLimits,
}
Expand description
A message telling a drone to spawn a backend.
Fields§
§image: String
The container image to run.
env: HashMap<String, String>
Environment variables to pass in to the container.
credentials: Option<DockerCredentials>
Credentials used to fetch the image.
resource_limits: ResourceLimits
Resource limits
Trait Implementations§
Source§impl Clone for DockerExecutableConfig
impl Clone for DockerExecutableConfig
Source§fn clone(&self) -> DockerExecutableConfig
fn clone(&self) -> DockerExecutableConfig
Returns a copy 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 DockerExecutableConfig
impl Debug for DockerExecutableConfig
Source§impl<'de> Deserialize<'de> for DockerExecutableConfig
impl<'de> Deserialize<'de> for DockerExecutableConfig
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
Source§impl PartialEq for DockerExecutableConfig
impl PartialEq for DockerExecutableConfig
Source§impl Serialize for DockerExecutableConfig
impl Serialize for DockerExecutableConfig
impl StructuralPartialEq for DockerExecutableConfig
Auto Trait Implementations§
impl Freeze for DockerExecutableConfig
impl RefUnwindSafe for DockerExecutableConfig
impl Send for DockerExecutableConfig
impl Sync for DockerExecutableConfig
impl Unpin for DockerExecutableConfig
impl UnwindSafe for DockerExecutableConfig
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