pub struct SmartModuleOutput {
pub successes: Vec<Record>,
pub error: Option<SmartModuleTransformRuntimeError>,
}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<SmartModuleTransformRuntimeError>Any runtime error if one was encountered
Implementations
sourceimpl SmartModuleOutput
impl SmartModuleOutput
pub fn new(successes: Vec<Record>) -> Self
pub fn with_error(
successes: Vec<Record>,
error: Option<SmartModuleTransformRuntimeError>
) -> Self
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 Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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