pub struct EmitterOptions {
pub other: Vec<String>,
pub output: Option<String>,
}Expand description
Output-format selection and additional arguments for an Emitter.
Default requests the program’s defaults by leaving output unset and
other empty. These options do not define the generated values, bound the
execution time, or validate the selected program’s capabilities.
§Examples
use asimov_patterns::EmitterOptions;
let options = EmitterOptions::builder()
.output("jsonl")
.build();Fields§
§other: Vec<String>Additional arguments appended after the generated output-format option.
Each string is one literal argument, without shell expansion. The
standard pattern has no positional operands; extensions require support
from the selected program. See crate::programs.
output: Option<String>RDF serialization passed as --output=FORMAT (-o in the CLI).
None omits the option; the specified program default is jsonl.
This does not select a file, capture policy, or RDF mapping profile.
Implementations§
Source§impl EmitterOptions
impl EmitterOptions
Sourcepub fn builder() -> EmitterOptionsBuilder
pub fn builder() -> EmitterOptionsBuilder
Create an instance of EmitterOptions using the builder syntax