pub struct ContainerExecReceipt {
pub host: HostId,
pub topology_revision: TopologyRevision,
pub container: String,
pub command: Vec<String>,
pub user: Option<String>,
pub working_dir: Option<PathBuf>,
pub stdout: String,
pub stderr: String,
pub exit_code: Option<i64>,
pub truncated: bool,
pub encoding_lossy: bool,
pub send_state: MutationSendState,
}Expand description
Completed non-interactive Docker exec.
Fields§
§host: HostIdTarget host.
topology_revision: TopologyRevisionExact topology revision.
container: StringTarget container.
command: Vec<String>Direct command argv.
user: Option<String>Optional exec user.
working_dir: Option<PathBuf>Optional container working directory.
stdout: StringBounded stdout.
stderr: StringBounded stderr.
exit_code: Option<i64>Docker exec exit code when available.
truncated: boolWhether either output stream exceeded its ceiling.
encoding_lossy: boolWhether UTF-8 replacement was required.
send_state: MutationSendStateBackend send state.
Trait Implementations§
Source§impl Clone for ContainerExecReceipt
impl Clone for ContainerExecReceipt
Source§fn clone(&self) -> ContainerExecReceipt
fn clone(&self) -> ContainerExecReceipt
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ContainerExecReceipt
impl Debug for ContainerExecReceipt
Source§impl<'de> Deserialize<'de> for ContainerExecReceipt
impl<'de> Deserialize<'de> for ContainerExecReceipt
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 ContainerExecReceipt
impl PartialEq for ContainerExecReceipt
Source§fn eq(&self, other: &ContainerExecReceipt) -> bool
fn eq(&self, other: &ContainerExecReceipt) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ContainerExecReceipt
impl Serialize for ContainerExecReceipt
impl Eq for ContainerExecReceipt
impl StructuralPartialEq for ContainerExecReceipt
Auto Trait Implementations§
impl Freeze for ContainerExecReceipt
impl RefUnwindSafe for ContainerExecReceipt
impl Send for ContainerExecReceipt
impl Sync for ContainerExecReceipt
impl Unpin for ContainerExecReceipt
impl UnsafeUnpin for ContainerExecReceipt
impl UnwindSafe for ContainerExecReceipt
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.