pub struct Pinned {
pub cmd: String,
pub environ: Option<HashMap<String, String>>,
pub down: Option<String>,
pub pre_down: Option<Vec<String>>,
/* private fields */
}Expand description
Pinned process informations.
Fields§
§cmd: StringCommand representing the Pinned process.
environ: Option<HashMap<String, String>>Environment variables required to launch the process.
down: Option<String>Instruction required to properly shutdown the process.
pre_down: Option<Vec<String>>Set of instructions launched before properly shutting down the process.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Pinned
impl<'de> Deserialize<'de> for Pinned
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 Pinned
impl RefUnwindSafe for Pinned
impl Send for Pinned
impl Sync for Pinned
impl Unpin for Pinned
impl UnwindSafe for Pinned
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