pub struct StoppedPayload {
pub status: Option<i32>,
pub exit_code: Option<i64>,
}
Expand description
Payload for Stopped events.
Fields§
§status: Option<i32>
§exit_code: Option<i64>
Trait Implementations§
Source§impl Clone for StoppedPayload
impl Clone for StoppedPayload
Source§fn clone(&self) -> StoppedPayload
fn clone(&self) -> StoppedPayload
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 StoppedPayload
impl Debug for StoppedPayload
Source§impl Default for StoppedPayload
impl Default for StoppedPayload
Source§fn default() -> StoppedPayload
fn default() -> StoppedPayload
Returns the “default value” for a type. Read more
Source§impl Encodable for StoppedPayload
impl Encodable for StoppedPayload
Source§type Encoded = WireStoppedPayload
type Encoded = WireStoppedPayload
The wire type for the value.
§const COPY_OPTIMIZATION: CopyOptimization<Self> = _
const COPY_OPTIMIZATION: CopyOptimization<Self> = _
An optimization flag that allows the bytes of this type to be copied directly during
encoding instead of calling
encode
. Read moreSource§impl<___E> Encode<___E> for StoppedPayloadwhere
___E: Encoder + ?Sized,
impl<___E> Encode<___E> for StoppedPayloadwhere
___E: Encoder + ?Sized,
Source§impl TakeFrom<WireStoppedPayload> for StoppedPayload
impl TakeFrom<WireStoppedPayload> for StoppedPayload
Source§fn take_from(from: &WireStoppedPayload) -> Self
fn take_from(from: &WireStoppedPayload) -> Self
Converts from the given
T
, taking any resources that can’t be cloned.§const COPY_OPTIMIZATION: CopyOptimization<Self> = _
const COPY_OPTIMIZATION: CopyOptimization<Self> = _
An optimization flag that allows the bytes of this type to be copied directly during
conversion instead of calling
take_from
. Read moreAuto Trait Implementations§
impl Freeze for StoppedPayload
impl RefUnwindSafe for StoppedPayload
impl Send for StoppedPayload
impl Sync for StoppedPayload
impl Unpin for StoppedPayload
impl UnwindSafe for StoppedPayload
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