Struct iceberg_rust::spec::schema::SchemaBuilder
source · pub struct SchemaBuilder { /* private fields */ }
Expand description
Builder for Schema
.
Implementations§
source§impl SchemaBuilder
impl SchemaBuilder
sourcepub fn with_schema_id(&mut self, value: i32) -> &mut SchemaBuilder
pub fn with_schema_id(&mut self, value: i32) -> &mut SchemaBuilder
Identifier of the schema
sourcepub fn with_identifier_field_ids<VALUE>(
&mut self,
value: VALUE
) -> &mut SchemaBuilder
pub fn with_identifier_field_ids<VALUE>( &mut self, value: VALUE ) -> &mut SchemaBuilder
Set of primitive fields that identify rows in a table.
sourcepub fn with_fields(&mut self, value: StructType) -> &mut SchemaBuilder
pub fn with_fields(&mut self, value: StructType) -> &mut SchemaBuilder
The struct fields
Trait Implementations§
source§impl Clone for SchemaBuilder
impl Clone for SchemaBuilder
source§fn clone(&self) -> SchemaBuilder
fn clone(&self) -> SchemaBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Default for SchemaBuilder
impl Default for SchemaBuilder
source§fn default() -> SchemaBuilder
fn default() -> SchemaBuilder
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl RefUnwindSafe for SchemaBuilder
impl Send for SchemaBuilder
impl Sync for SchemaBuilder
impl Unpin for SchemaBuilder
impl UnwindSafe for SchemaBuilder
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