pub struct CommonSmartModuleOpt {
    pub filter: Option<String>,
    pub filter_map: Option<String>,
    pub map: Option<String>,
    pub array_map: Option<String>,
    pub aggregate: Option<String>,
    pub aggregate_initial_value: Option<String>,
    pub smart_module: Option<String>,
    pub smartmodule_parameters: Option<Vec<(String, String)>>,
}

Fields

filter: Option<String>

Path of filter smartmodule used as a pre-produce step if using source connector. If using sink connector this smartmodule will be used in consumer.

If the value is not a path to a file, it will be used to lookup a SmartModule by name

filter_map: Option<String>

Path of filter_map smartmodule used as a pre-produce step if using source connector. If using sink connector this smartmodule will be used in consumer.

If the value is not a path to a file, it will be used to lookup a SmartModule by name

map: Option<String>

Path of map smartmodule used as a pre-produce step if using source connector. If using sink connector this smartmodule will be used in consumer.

If the value is not a path to a file, it will be used to lookup a SmartModule by name

array_map: Option<String>

Path of arraymap smartmodule used as a pre-produce step if using source connector. If using sink connector this smartmodule will be used in consumer.

If the value is not a path to a file, it will be used to lookup a SmartModule by name

aggregate: Option<String>

Path of aggregate smartmodule used as a pre-produce step if using source connector. If using sink connector this smartmodule will be used in consumer.

If the value is not a path to a file, it will be used to lookup a SmartModule by name

aggregate_initial_value: Option<String>smart_module: Option<String>

Path of smartmodule used as a pre-produce step if using source connector. If using sink connector this smartmodule will be used in consumer.

If the value is not a path to a file, it will be used to lookup a SmartModule by name

smartmodule_parameters: Option<Vec<(String, String)>>

(Optional) Extra input parameters passed to the smartmodule module. They should be passed using key:value format.

It only accepts one key:value pair. In order to pass multiple pairs, call this option multiple times.

Example: –smartmodule-parameters key1:value –smartmodule-parameters key2:value

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

The name of the generated JSON Schema. Read more

Generates a JSON Schema for this type. Read more

Whether JSON Schemas generated for this type should be re-used where possible using the $ref keyword. Read more

Returns clap::App corresponding to the struct.

Builds the struct from clap::ArgMatches. It’s guaranteed to succeed if matches originates from an App generated by StructOpt::clap called on the same type, otherwise it must panic. Read more

Builds the struct from the command line arguments (std::env::args_os). Calls clap::Error::exit on failure, printing the error message and aborting the program. Read more

Builds the struct from the command line arguments (std::env::args_os). Unlike StructOpt::from_args, returns clap::Error on failure instead of aborting the program, so calling .exit is up to you. Read more

Gets the struct from any iterator such as a Vec of your making. Print the error message and quit the program in case of failure. Read more

Gets the struct from any iterator such as a Vec of your making. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The alignment of pointer.

The type for initializers.

Initializes a with the given initializer. Read more

Dereferences the given pointer. Read more

Mutably dereferences the given pointer. Read more

Drops the object pointed to by the given pointer. Read more

Should always be Self

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more