// SPDX-License-Identifier: Apache-2.0
/// Source for `COPY ... TO`.
#[derive(Debug, Clone, PartialEq, Eq)]pubenumCopyToSource{/// `COPY <collection> TO '<path>'` — export from a named collection.
Collection(String),/// `COPY (SELECT ...) TO '<path>'` — export from an arbitrary query.
Query(String),}/// Format for `COPY ... FROM` bulk import.
#[derive(Debug, Clone, PartialEq, Eq)]pubenumCopyFormat{/// One JSON object per line (`.ndjson` / `.jsonl`).
Ndjson,/// A JSON array of objects (`.json`).
JsonArray,/// CSV with an optional header row (`.csv`).
Csv,}