Struct Atof File Sink Config

View as Markdown

Generated from cargo doc --no-deps -p nemo-relay -p nemo-relay-adaptive -p nemo-relay-pii-redaction -p nemo-relay-ffi -p nemo-relay-types -p nemo-relay-plugin -p nemo-relay-worker-proto -p nemo-relay-worker.

pub struct AtofFileSinkConfig {
    pub output_directory: PathBuf,
    pub mode: AtofExporterMode,
    pub filename: String,
}

Filesystem sink for raw ATOF JSONL events.

Fields

output_directory: PathBuf

Directory that contains the JSONL output file.

mode: AtofExporterMode

Append or overwrite behavior used when opening the file.

filename: String

Output filename.

Implementations

impl AtofFileSinkConfig

impl AtofFileSinkConfig

new

pub fn new() -> Self

Create a file sink with native defaults.

path

pub fn path(&self) -> PathBuf

Return the full output path for this sink.

Trait Implementations

impl Clone for AtofFileSinkConfig

impl Clone for AtofFileSinkConfig

clone

fn clone(&self) -> AtofFileSinkConfig

clone_from

fn clone_from(&mut self, source: &Self)

impl Debug for AtofFileSinkConfig

impl Debug for AtofFileSinkConfig

fmt

fn fmt(&self, f: &mut Formatter<'_>) -> Result

impl Default for AtofFileSinkConfig

impl Default for AtofFileSinkConfig

default

fn default() -> Self

impl<'de> Deserialize<'de> for AtofFileSinkConfig

impl<'de> Deserialize<'de> for AtofFileSinkConfig

deserialize

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
    __D: Deserializer<'de>,

impl PartialEq for AtofFileSinkConfig

impl PartialEq for AtofFileSinkConfig

eq

fn eq(&self, other: &AtofFileSinkConfig) -> bool

ne

fn ne(&self, other: &Rhs) -> bool

impl Serialize for AtofFileSinkConfig

impl Serialize for AtofFileSinkConfig

serialize

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where
    __S: Serializer,

impl Eq for AtofFileSinkConfig

impl Eq for AtofFileSinkConfig

impl StructuralPartialEq for AtofFileSinkConfig

impl StructuralPartialEq for AtofFileSinkConfig