pub struct SmartModuleInput {
pub base_offset: Offset,
pub record_data: Vec<u8>,
pub params: SmartModuleExtraParams,
pub join_record: Vec<u8>,
}
Expand description
Common data that gets passed as input to every SmartModule WASM module
Fields
base_offset: Offset
The base offset of this batch of records
record_data: Vec<u8>
The records for the SmartModule to process
params: SmartModuleExtraParams
join_record: Vec<u8>
Trait Implementations
sourceimpl Clone for SmartModuleInput
impl Clone for SmartModuleInput
sourcefn clone(&self) -> SmartModuleInput
fn clone(&self) -> SmartModuleInput
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for SmartModuleInput
impl Debug for SmartModuleInput
sourceimpl Decoder for SmartModuleInput
impl Decoder for SmartModuleInput
sourceimpl Default for SmartModuleInput
impl Default for SmartModuleInput
sourcefn default() -> SmartModuleInput
fn default() -> SmartModuleInput
Returns the “default value” for a type. Read more
sourceimpl Display for SmartModuleInput
impl Display for SmartModuleInput
sourceimpl Encoder for SmartModuleInput
impl Encoder for SmartModuleInput
Auto Trait Implementations
impl RefUnwindSafe for SmartModuleInput
impl Send for SmartModuleInput
impl Sync for SmartModuleInput
impl Unpin for SmartModuleInput
impl UnwindSafe for SmartModuleInput
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