pub struct Builder<T>(/* private fields */);Expand description
A builder for IngestMetadata
Implementations§
Source§impl Builder<Complete>
impl Builder<Complete>
Sourcepub fn timestamp_metadata(
self,
timestamp_metadata: impl Into<Option<TimestampMetadata>>,
) -> Self
pub fn timestamp_metadata( self, timestamp_metadata: impl Into<Option<TimestampMetadata>>, ) -> Self
Sets the timestamp_metadata field.
Sourcepub fn channel_prefix(self, channel_prefix: impl Into<Option<String>>) -> Self
pub fn channel_prefix(self, channel_prefix: impl Into<Option<String>>) -> Self
Sets the channel_prefix field.
Sourcepub fn tag_columns(
self,
tag_columns: impl Into<Option<BTreeMap<TagName, ColumnName>>>,
) -> Self
pub fn tag_columns( self, tag_columns: impl Into<Option<BTreeMap<TagName, ColumnName>>>, ) -> Self
Sets the tag_columns field.
Sets the additional_file_tags field.
Sourcepub fn build(self) -> IngestMetadata
pub fn build(self) -> IngestMetadata
Consumes the builder, returning a IngestMetadata.
Trait Implementations§
Source§impl From<IngestMetadata> for Builder<Complete>
impl From<IngestMetadata> for Builder<Complete>
Source§fn from(v: IngestMetadata) -> Self
fn from(v: IngestMetadata) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl<T> Freeze for Builder<T>where
T: Freeze,
impl<T> RefUnwindSafe for Builder<T>where
T: RefUnwindSafe,
impl<T> Send for Builder<T>where
T: Send,
impl<T> Sync for Builder<T>where
T: Sync,
impl<T> Unpin for Builder<T>where
T: Unpin,
impl<T> UnwindSafe for Builder<T>where
T: UnwindSafe,
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