pub struct CommandSignal {
pub signal: i32,
}Expand description
A signal for a command’s process, POST …/commands/{n}/signal’s body:
15 for SIGTERM, 9 for SIGKILL. It goes to the command’s process alone,
not what that started, and to none once it exited.
Fields§
§signal: i32Implementations§
Trait Implementations§
Source§impl Clone for CommandSignal
impl Clone for CommandSignal
impl Copy for CommandSignal
Source§impl Debug for CommandSignal
impl Debug for CommandSignal
Source§impl<'de> Deserialize<'de> for CommandSignal
impl<'de> Deserialize<'de> for CommandSignal
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 Eq for CommandSignal
Source§impl PartialEq for CommandSignal
impl PartialEq for CommandSignal
Source§impl Serialize for CommandSignal
impl Serialize for CommandSignal
impl StructuralPartialEq for CommandSignal
Auto Trait Implementations§
impl Forget for CommandSignal
impl Freeze for CommandSignal
impl RefUnwindSafe for CommandSignal
impl Send for CommandSignal
impl Sync for CommandSignal
impl Unpin for CommandSignal
impl UnsafeUnpin for CommandSignal
impl UnwindSafe for CommandSignal
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