pub struct MiddlewareOutput {
pub envelope: Envelope,
pub rendered: String,
pub exit_code: i32,
}Expand description
Rendered result produced by middleware.
Fields§
§envelope: EnvelopePrepared output envelope.
rendered: StringRendered output string.
exit_code: i32Process-style exit code.
Trait Implementations§
Source§impl Clone for MiddlewareOutput
impl Clone for MiddlewareOutput
Source§fn clone(&self) -> MiddlewareOutput
fn clone(&self) -> MiddlewareOutput
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 MiddlewareOutput
impl Debug for MiddlewareOutput
Source§impl From<MiddlewareOutput> for CliRunOutput
impl From<MiddlewareOutput> for CliRunOutput
Source§fn from(o: MiddlewareOutput) -> Self
fn from(o: MiddlewareOutput) -> Self
Converts to this type from the input type.
Source§impl PartialEq for MiddlewareOutput
impl PartialEq for MiddlewareOutput
Source§fn eq(&self, other: &MiddlewareOutput) -> bool
fn eq(&self, other: &MiddlewareOutput) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for MiddlewareOutput
Auto Trait Implementations§
impl Freeze for MiddlewareOutput
impl RefUnwindSafe for MiddlewareOutput
impl Send for MiddlewareOutput
impl Sync for MiddlewareOutput
impl Unpin for MiddlewareOutput
impl UnsafeUnpin for MiddlewareOutput
impl UnwindSafe for MiddlewareOutput
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