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§
source§impl SmartModuleOutput
impl SmartModuleOutput
pub fn new(successes: Vec<Record>) -> Self
pub fn with_error( successes: Vec<Record>, error: Option<SmartModuleTransformRuntimeError> ) -> Self
Trait Implementations§
source§impl Debug for SmartModuleOutput
impl Debug for SmartModuleOutput
source§impl Decoder for SmartModuleOutput
impl Decoder for SmartModuleOutput
source§impl Default for SmartModuleOutput
impl Default for SmartModuleOutput
source§fn default() -> SmartModuleOutput
fn default() -> SmartModuleOutput
Returns the “default value” for a type. Read more