pub struct TaskLifecycle {
pub hook: Option<String>,
pub sidecar: Option<bool>,
}
Expand description
This struct was generated based on the Go types of the official Nomad API.
Fields§
§hook: Option<String>
§sidecar: Option<bool>
Trait Implementations§
Source§impl Clone for TaskLifecycle
impl Clone for TaskLifecycle
Source§fn clone(&self) -> TaskLifecycle
fn clone(&self) -> TaskLifecycle
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 TaskLifecycle
impl Debug for TaskLifecycle
Source§impl Default for TaskLifecycle
impl Default for TaskLifecycle
Source§fn default() -> TaskLifecycle
fn default() -> TaskLifecycle
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for TaskLifecycle
impl<'de> Deserialize<'de> for TaskLifecycle
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 TaskLifecycle
impl PartialEq for TaskLifecycle
Source§impl Serialize for TaskLifecycle
impl Serialize for TaskLifecycle
impl StructuralPartialEq for TaskLifecycle
Auto Trait Implementations§
impl Freeze for TaskLifecycle
impl RefUnwindSafe for TaskLifecycle
impl Send for TaskLifecycle
impl Sync for TaskLifecycle
impl Unpin for TaskLifecycle
impl UnwindSafe for TaskLifecycle
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