pub struct ExportConfig {
pub outputs: Vec<ExportOutputConfig>,
pub path: Option<PathBuf>,
pub format: Option<String>,
pub compress_payload: bool,
pub unidirectional: bool,
}Expand description
Structured data export configuration ([export] table in TOML).
Fields§
§outputs: Vec<ExportOutputConfig>Multiple output targets (fan-out). Takes precedence over path.
path: Option<PathBuf>Legacy single output path (superseded by [[export.outputs]]).
format: Option<String>Override output format: "json", "parquet", or "avro".
compress_payload: boolApply Zstd compression to payload bytes.
unidirectional: boolCompute flow IDs unidirectionally (default: bidirectional).
Trait Implementations§
Source§impl Debug for ExportConfig
impl Debug for ExportConfig
Source§impl Default for ExportConfig
impl Default for ExportConfig
Source§fn default() -> ExportConfig
fn default() -> ExportConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ExportConfig
impl<'de> Deserialize<'de> for ExportConfig
Source§fn deserialize(value: &mut Value<'de>) -> Result<Self, DeserError>
fn deserialize(value: &mut Value<'de>) -> Result<Self, DeserError>
Given a mutable
Value, allows you to deserialize the type from it,
or accumulate 1 or more errorsAuto Trait Implementations§
impl Freeze for ExportConfig
impl RefUnwindSafe for ExportConfig
impl Send for ExportConfig
impl Sync for ExportConfig
impl Unpin for ExportConfig
impl UnsafeUnpin for ExportConfig
impl UnwindSafe for ExportConfig
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more