Generated from cargo doc --no-deps -p nemo-relay -p nemo-relay-adaptive -p nemo-relay-ffi.
pub struct AtofExporterConfig {
pub output_directory: PathBuf,
pub mode: AtofExporterMode,
pub filename: String,
}
Configuration for AtofExporter.
output_directory: PathBufDirectory that contains the JSONL output file.
mode: AtofExporterModeAppend or overwrite behavior used when opening the file.
filename: StringOutput filename.
impl AtofExporterConfigimpl AtofExporterConfig
newpub fn new() -> Self
Create a config with defaults.
with_output_directorypub fn with_output_directory(self, output_directory: impl Into<PathBuf>) -> Self
Override the output directory.
with_modepub fn with_mode(self, mode: AtofExporterMode) -> Self
Override the output mode.
with_filenamepub fn with_filename(self, filename: impl Into<String>) -> Self
Override the output filename.
pathpub fn path(&self) -> PathBuf
Return the full output path for this config.
impl Clone for AtofExporterConfigimpl Clone for AtofExporterConfig
clonefn clone(&self) -> AtofExporterConfig
clone_fromfn clone_from(&mut self, source: &Self)
impl Debug for AtofExporterConfigimpl Debug for AtofExporterConfig
fmtfn fmt(&self, f: &mut Formatter<'_>) -> Result
impl Default for AtofExporterConfigimpl Default for AtofExporterConfig
defaultfn default() -> Self
impl PartialEq for AtofExporterConfigimpl PartialEq for AtofExporterConfig
eqfn eq(&self, other: &AtofExporterConfig) -> bool
nefn ne(&self, other: &Rhs) -> bool
impl Eq for AtofExporterConfigimpl Eq for AtofExporterConfig
impl StructuralPartialEq for AtofExporterConfigimpl StructuralPartialEq for AtofExporterConfig