pub struct Template {Show 16 fields
pub envvars: Option<bool>,
pub err_missing_key: Option<bool>,
pub source_path: Option<String>,
pub dest_path: Option<String>,
pub embedded_tmpl: Option<String>,
pub change_script: Option<ChangeScript>,
pub uid: Option<i64>,
pub left_delim: Option<String>,
pub gid: Option<i64>,
pub vault_grace: Option<TimeDelta>,
pub wait: Option<WaitConfig>,
pub change_mode: Option<String>,
pub splay: Option<TimeDelta>,
pub change_signal: Option<String>,
pub perms: Option<String>,
pub right_delim: Option<String>,
}
Expand description
This struct was generated based on the Go types of the official Nomad API.
Fields§
§envvars: Option<bool>
§err_missing_key: Option<bool>
§source_path: Option<String>
§dest_path: Option<String>
§embedded_tmpl: Option<String>
§change_script: Option<ChangeScript>
§uid: Option<i64>
§left_delim: Option<String>
§gid: Option<i64>
§vault_grace: Option<TimeDelta>
§wait: Option<WaitConfig>
§change_mode: Option<String>
§splay: Option<TimeDelta>
§change_signal: Option<String>
§perms: Option<String>
§right_delim: Option<String>
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