pub struct SmartModuleOutput {
pub successes: Vec<Record>,
pub error: Option<SmartModuleRuntimeError>,
}
Expand description
A type used to return processed records and/or an error from a SmartModule
Fields
successes: Vec<Record>
The successfully processed output Records
error: Option<SmartModuleRuntimeError>
Any runtime error if one was encountered
Trait Implementations
sourceimpl Debug for SmartModuleOutput
impl Debug for SmartModuleOutput
sourceimpl Decoder for SmartModuleOutput
impl Decoder for SmartModuleOutput
sourceimpl Default for SmartModuleOutput
impl Default for SmartModuleOutput
sourcefn default() -> SmartModuleOutput
fn default() -> SmartModuleOutput
Returns the “default value” for a type. Read more
sourceimpl Encoder for SmartModuleOutput
impl Encoder for SmartModuleOutput
Auto Trait Implementations
impl RefUnwindSafe for SmartModuleOutput
impl Send for SmartModuleOutput
impl Sync for SmartModuleOutput
impl Unpin for SmartModuleOutput
impl UnwindSafe for SmartModuleOutput
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more