Struct dbn::metadata::MetadataBuilder
source · pub struct MetadataBuilder<D, Sch, Start, StIn, StOut> { /* private fields */ }Expand description
Implementations§
source§impl<D, Sch, Start, StIn, StOut> MetadataBuilder<D, Sch, Start, StIn, StOut>
impl<D, Sch, Start, StIn, StOut> MetadataBuilder<D, Sch, Start, StIn, StOut>
sourcepub fn dataset(
self,
dataset: String
) -> MetadataBuilder<String, Sch, Start, StIn, StOut>
pub fn dataset( self, dataset: String ) -> MetadataBuilder<String, Sch, Start, StIn, StOut>
Sets the dataset and returns the builder.
sourcepub fn schema(
self,
schema: Schema
) -> MetadataBuilder<D, Schema, Start, StIn, StOut>
pub fn schema( self, schema: Schema ) -> MetadataBuilder<D, Schema, Start, StIn, StOut>
Sets the schema and returns the builder.
sourcepub fn start(self, start: u64) -> MetadataBuilder<D, Sch, u64, StIn, StOut>
pub fn start(self, start: u64) -> MetadataBuilder<D, Sch, u64, StIn, StOut>
Sets the start and returns the builder.
sourcepub fn end(self, end: Option<NonZeroU64>) -> Self
pub fn end(self, end: Option<NonZeroU64>) -> Self
Sets the end and returns the builder.
sourcepub fn limit(self, limit: Option<NonZeroU64>) -> Self
pub fn limit(self, limit: Option<NonZeroU64>) -> Self
Sets the limit and returns the builder.
sourcepub fn stype_in(
self,
stype_in: SType
) -> MetadataBuilder<D, Sch, Start, SType, StOut>
pub fn stype_in( self, stype_in: SType ) -> MetadataBuilder<D, Sch, Start, SType, StOut>
Sets the stype_in and returns the builder.
sourcepub fn stype_out(
self,
stype_out: SType
) -> MetadataBuilder<D, Sch, Start, StIn, SType>
pub fn stype_out( self, stype_out: SType ) -> MetadataBuilder<D, Sch, Start, StIn, SType>
Sets the stype_out and returns the builder.
sourcepub fn not_found(self, not_found: Vec<String>) -> Self
pub fn not_found(self, not_found: Vec<String>) -> Self
Sets the not_found and returns the builder.
sourcepub fn mappings(self, mappings: Vec<SymbolMapping>) -> Self
pub fn mappings(self, mappings: Vec<SymbolMapping>) -> Self
Sets the mappings and returns the builder.