pub struct JobRequest {
pub init_spec: JobInitSpec,
pub ssh_keys: Vec<String>,
pub restart_policy: RestartPolicy,
pub parameters: HashMap<String, ParameterValue>,
pub tag_config: String,
pub override_timeout: Option<Duration>,
}Fields§
§init_spec: JobInitSpecWhat kind of job this is.
ssh_keys: Vec<String>The set of initial SSH keys to deploy onto the image.
The image’s configuration of the Treadmill puppet daemon determines how and whether these keys will be loaded.
restart_policy: RestartPolicy§parameters: HashMap<String, ParameterValue>A hash map of parameters provided to this job execution. These parameters are provided to the puppet daemon.
tag_config: StringThe tag configuration.
FIXME: TO BE SPECIFIED
override_timeout: Option<Duration>Trait Implementations§
Source§impl Clone for JobRequest
impl Clone for JobRequest
Source§fn clone(&self) -> JobRequest
fn clone(&self) -> JobRequest
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 JobRequest
impl Debug for JobRequest
Source§impl<'de> Deserialize<'de> for JobRequest
impl<'de> Deserialize<'de> for JobRequest
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 JobRequest
impl RefUnwindSafe for JobRequest
impl Send for JobRequest
impl Sync for JobRequest
impl Unpin for JobRequest
impl UnwindSafe for JobRequest
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