# McapIngest

## pub struct McapIngest

Configuration for ingesting an MCAP file’s protobuf timeseries data into a
dataset. MCAP video tracks are a separate path and not yet wired up.

## Implementations

### impl McapIngest

#### pub fn new() -> Self

#### pub fn include_topic(self, topic: impl Into<String>) -> Self

Ingest only the given topic (call repeatedly to include multiple).
Mutually exclusive with [`Self::exclude_topic`](https://dev.nominal.io/rust-client/ref/rust/nominal/core/struct.McapIngest.md#method.exclude_topic "nominal::core::McapIngest::exclude_topic").

#### pub fn exclude_topic(self, topic: impl Into<String>) -> Self

Skip the given topic during ingest (call repeatedly to exclude
multiple). Mutually exclusive with [`Self::include_topic`](https://dev.nominal.io/rust-client/ref/rust/nominal/core/struct.McapIngest.md#method.include_topic "nominal::core::McapIngest::include_topic").

#### pub fn additional_file_tag(self, tag: impl Into<String>, value: impl Into<String>) -> Self

Apply a fixed tag value to every row in this file.

#### pub fn ignore_invalid_topics(self, value: bool) -> Self

If `true`, skip invalid MCAP topics instead of failing the whole
ingest. Defaults to the server-side default (false).

#### pub fn upload_options(self, options: UploadOptions) -> Self

## Trait implementations

**Derived**: [`Debug`](https://doc.rust-lang.org/1.98.1/core/fmt/trait.Debug.html), [`Clone`](https://doc.rust-lang.org/1.98.1/core/clone/trait.Clone.html), [`Default`](https://doc.rust-lang.org/1.98.1/core/default/trait.Default.html)

**Auto traits**: [`Send`](https://doc.rust-lang.org/1.98.1/core/marker/trait.Send.html), [`Sync`](https://doc.rust-lang.org/1.98.1/core/marker/trait.Sync.html), [`Unpin`](https://doc.rust-lang.org/1.98.1/core/marker/trait.Unpin.html), [`!UnwindSafe`](https://doc.rust-lang.org/1.98.1/core/panic/unwind_safe/trait.UnwindSafe.html), [`!RefUnwindSafe`](https://doc.rust-lang.org/1.98.1/core/panic/unwind_safe/trait.RefUnwindSafe.html)
