pub struct HookOutcome {
pub stdout: Option<String>,
pub exit_code: i32,
}Expand description
What the adapter prints on stdout and exits with for one payload.
Fields§
§stdout: Option<String>§exit_code: i32Implementations§
Source§impl HookOutcome
impl HookOutcome
Trait Implementations§
Source§impl Debug for HookOutcome
impl Debug for HookOutcome
impl Eq for HookOutcome
Source§impl PartialEq for HookOutcome
impl PartialEq for HookOutcome
Source§fn eq(&self, other: &HookOutcome) -> bool
fn eq(&self, other: &HookOutcome) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for HookOutcome
Auto Trait Implementations§
impl Freeze for HookOutcome
impl RefUnwindSafe for HookOutcome
impl Send for HookOutcome
impl Sync for HookOutcome
impl Unpin for HookOutcome
impl UnsafeUnpin for HookOutcome
impl UnwindSafe for HookOutcome
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.