pub struct ExporterConfig {
pub csv: Option<CsvExporter>,
pub parquet: Option<ParquetExporter>,
pub jsonl: Option<JsonlExporter>,
pub sqlite: Option<SqliteExporter>,
pub duckdb: Option<DuckdbExporter>,
pub postgres: Option<PostgresExporter>,
pub dm: Option<DmExporter>,
}Fields§
§csv: Option<CsvExporter>§parquet: Option<ParquetExporter>§jsonl: Option<JsonlExporter>§sqlite: Option<SqliteExporter>§duckdb: Option<DuckdbExporter>§postgres: Option<PostgresExporter>§dm: Option<DmExporter>Implementations§
Source§impl ExporterConfig
impl ExporterConfig
Sourcepub fn csv(&self) -> Option<&CsvExporter>
pub fn csv(&self) -> Option<&CsvExporter>
获取 CSV 导出器配置
Sourcepub fn parquet(&self) -> Option<&ParquetExporter>
pub fn parquet(&self) -> Option<&ParquetExporter>
获取 Parquet 导出器配置
Sourcepub fn jsonl(&self) -> Option<&JsonlExporter>
pub fn jsonl(&self) -> Option<&JsonlExporter>
获取 JSONL 导出器配置
Sourcepub fn sqlite(&self) -> Option<&SqliteExporter>
pub fn sqlite(&self) -> Option<&SqliteExporter>
获取 SQLite 导出器配置
Sourcepub fn duckdb(&self) -> Option<&DuckdbExporter>
pub fn duckdb(&self) -> Option<&DuckdbExporter>
获取 DuckDB 导出器配置
Sourcepub fn postgres(&self) -> Option<&PostgresExporter>
pub fn postgres(&self) -> Option<&PostgresExporter>
获取 PostgreSQL 导出器配置
Sourcepub fn dm(&self) -> Option<&DmExporter>
pub fn dm(&self) -> Option<&DmExporter>
获取 DM 导出器配置
Sourcepub fn has_exporters(&self) -> bool
pub fn has_exporters(&self) -> bool
检查是否有任何导出器配置
Sourcepub fn total_exporters(&self) -> usize
pub fn total_exporters(&self) -> usize
统计配置的导出器总数
Trait Implementations§
Source§impl Clone for ExporterConfig
impl Clone for ExporterConfig
Source§fn clone(&self) -> ExporterConfig
fn clone(&self) -> ExporterConfig
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ExporterConfig
impl Debug for ExporterConfig
Source§impl Default for ExporterConfig
impl Default for ExporterConfig
Source§impl<'de> Deserialize<'de> for ExporterConfig
impl<'de> Deserialize<'de> for ExporterConfig
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for ExporterConfig
impl RefUnwindSafe for ExporterConfig
impl Send for ExporterConfig
impl Sync for ExporterConfig
impl Unpin for ExporterConfig
impl UnsafeUnpin for ExporterConfig
impl UnwindSafe for ExporterConfig
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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