pub struct Template {Show 16 fields
pub source_path: Option<String>,
pub dest_path: Option<String>,
pub embedded_tmpl: Option<String>,
pub change_mode: Option<String>,
pub change_script: Option<ChangeScript>,
pub change_signal: Option<String>,
pub splay: Option<TimeDelta>,
pub perms: Option<String>,
pub uid: Option<i64>,
pub gid: Option<i64>,
pub left_delim: Option<String>,
pub right_delim: Option<String>,
pub envvars: Option<bool>,
pub vault_grace: Option<TimeDelta>,
pub wait: Option<WaitConfig>,
pub err_missing_key: Option<bool>,
}
Expand description
This struct was generated based on the Go types of the official Nomad API client.
Fields§
§source_path: Option<String>
§dest_path: Option<String>
§embedded_tmpl: Option<String>
§change_mode: Option<String>
§change_script: Option<ChangeScript>
§change_signal: Option<String>
§splay: Option<TimeDelta>
§perms: Option<String>
§uid: Option<i64>
§gid: Option<i64>
§left_delim: Option<String>
§right_delim: Option<String>
§envvars: Option<bool>
§vault_grace: Option<TimeDelta>
§wait: Option<WaitConfig>
§err_missing_key: Option<bool>
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Template
impl<'de> Deserialize<'de> for Template
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
impl StructuralPartialEq for Template
Auto Trait Implementations§
impl Freeze for Template
impl RefUnwindSafe for Template
impl Send for Template
impl Sync for Template
impl Unpin for Template
impl UnwindSafe for Template
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