pub struct ExportOutputConfig {
pub path: PathBuf,
pub format: Option<String>,
pub compress_payload: bool,
}Expand description
A single output target within [[export.outputs]].
Fields§
§path: PathBufOutput file path (extension determines format unless format is set).
format: Option<String>Override output format: "json", "parquet", or "avro".
compress_payload: boolApply Zstd compression to payload bytes.
Trait Implementations§
Source§impl Debug for ExportOutputConfig
impl Debug for ExportOutputConfig
Source§impl<'de> Deserialize<'de> for ExportOutputConfig
impl<'de> Deserialize<'de> for ExportOutputConfig
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 ExportOutputConfig
impl RefUnwindSafe for ExportOutputConfig
impl Send for ExportOutputConfig
impl Sync for ExportOutputConfig
impl Unpin for ExportOutputConfig
impl UnsafeUnpin for ExportOutputConfig
impl UnwindSafe for ExportOutputConfig
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