pub struct JobContainer {
pub image: String,
pub credentials: Option<ContainerCredentials>,
pub env: HashMap<String, String>,
pub ports: Option<Vec<String>>,
pub volumes: Option<Vec<String>>,
pub options: Option<String>,
}Fields§
§image: String§credentials: Option<ContainerCredentials>§env: HashMap<String, String>§ports: Option<Vec<String>>§volumes: Option<Vec<String>>§options: Option<String>Trait Implementations§
Source§impl Clone for JobContainer
impl Clone for JobContainer
Source§fn clone(&self) -> JobContainer
fn clone(&self) -> JobContainer
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 moreSource§impl Debug for JobContainer
impl Debug for JobContainer
Source§impl<'de> Deserialize<'de> for JobContainer
impl<'de> Deserialize<'de> for JobContainer
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 JobContainer
impl RefUnwindSafe for JobContainer
impl Send for JobContainer
impl Sync for JobContainer
impl Unpin for JobContainer
impl UnsafeUnpin for JobContainer
impl UnwindSafe for JobContainer
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