DatasetTarget#
- pub enum DatasetTarget#
Where an ingest should land. Either an existing dataset (by RID) or a new dataset, which will be created atomically alongside the ingest — a failed ingest leaves no dataset behind.
&str/Stringconvert toDatasetTarget::Existing;DatasetCreateconverts toDatasetTarget::New, so callers can usually pass either directly without naming the enum.
Variants#
- New(DatasetCreate)#
Trait implementations#
- impl From<String> for DatasetTarget
- fn from(rid: String) -> Self
- impl From<&str> for DatasetTarget
- fn from(rid: &str) -> Self
- impl From<&String> for DatasetTarget
- fn from(rid: &String) -> Self
- impl From<DatasetCreate> for DatasetTarget
- fn from(create: DatasetCreate) -> Self
Auto traits: Send, Sync, Unpin, UnwindSafe, RefUnwindSafe