pub struct StartArgs {
pub cmd: String,
pub restart_policy: RestartPolicy,
}Expand description
arguments to State::start
Fields§
§cmd: Stringthe command to run
restart_policy: RestartPolicythe restart policy to start the command with
Trait Implementations§
source§impl<'de> Deserialize<'de> for StartArgs
impl<'de> Deserialize<'de> for StartArgs
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 StartArgs
impl PartialEq for StartArgs
impl StructuralPartialEq for StartArgs
Auto Trait Implementations§
impl RefUnwindSafe for StartArgs
impl Send for StartArgs
impl Sync for StartArgs
impl Unpin for StartArgs
impl UnwindSafe for StartArgs
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