This is an automated email from the ASF dual-hosted git repository.

github-bot pushed a commit to branch gh-pages
in repository https://gitbox.apache.org/repos/asf/iceberg-rust.git


The following commit(s) were added to refs/heads/gh-pages by this push:
     new adc7315d deploy: ab5497b1a3f1632132e03908b5dd7d16b50e0fa3
adc7315d is described below

commit adc7315d7e7d6caad64ec296e1178a3e8220d608
Author: liurenjie1024 <[email protected]>
AuthorDate: Wed Apr 2 14:17:12 2025 +0000

    deploy: ab5497b1a3f1632132e03908b5dd7d16b50e0fa3
---
 api/help.html                            |  2 +-
 api/iceberg/spec/struct.ListType.html    |  8 ++---
 api/iceberg/spec/struct.MapType.html     |  8 ++---
 api/iceberg/spec/struct.NestedField.html | 20 ++++++------
 api/settings.html                        |  2 +-
 api/src/iceberg/spec/datatypes.rs.html   | 56 +++-----------------------------
 6 files changed, 24 insertions(+), 72 deletions(-)

diff --git a/api/help.html b/api/help.html
index b3855f23..21943ce1 100644
--- a/api/help.html
+++ b/api/help.html
@@ -1 +1 @@
-<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta 
name="viewport" content="width=device-width, initial-scale=1.0"><meta 
name="generator" content="rustdoc"><meta name="description" 
content="Documentation for 
Rustdoc"><title>Help</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-46f98efaafac5295.ttf.woff2,FiraSans-Regular-018c141bf0843ffd.woff2,FiraSans-Medium-8f9a781e4970d388.woff2,SourceCodePro-Regular-5
 [...]
\ No newline at end of file
+<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta 
name="viewport" content="width=device-width, initial-scale=1.0"><meta 
name="generator" content="rustdoc"><meta name="description" 
content="Documentation for 
Rustdoc"><title>Help</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-46f98efaafac5295.ttf.woff2,FiraSans-Regular-018c141bf0843ffd.woff2,FiraSans-Medium-8f9a781e4970d388.woff2,SourceCodePro-Regular-5
 [...]
\ No newline at end of file
diff --git a/api/iceberg/spec/struct.ListType.html 
b/api/iceberg/spec/struct.ListType.html
index 46938f98..162038e2 100644
--- a/api/iceberg/spec/struct.ListType.html
+++ b/api/iceberg/spec/struct.ListType.html
@@ -1,12 +1,12 @@
-<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta 
name="viewport" content="width=device-width, initial-scale=1.0"><meta 
name="generator" content="rustdoc"><meta name="description" content="A list is 
a collection of values with some element type. The element field has an integer 
id that is unique in the table schema. Elements can be either optional or 
required. Element types may be any type."><title>ListType in iceberg::spec - 
Rust</title><script>if(window.location.protocol [...]
+<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta 
name="viewport" content="width=device-width, initial-scale=1.0"><meta 
name="generator" content="rustdoc"><meta name="description" content="A list is 
a collection of values with some element type. The element field has an integer 
id that is unique in the table schema. Elements can be either optional or 
required. Element types may be any type."><title>ListType in iceberg::spec - 
Rust</title><script>if(window.location.protocol [...]
     pub element_field: <a class="type" href="type.NestedFieldRef.html" 
title="type iceberg::spec::NestedFieldRef">NestedFieldRef</a>,
 }</code></pre><details class="toggle top-doc" open><summary 
class="hideme"><span>Expand description</span></summary><div 
class="docblock"><p>A list is a collection of values with some element type. 
The element field has an integer id that is unique in the table schema.
 Elements can be either optional or required. Element types may be any type.</p>
 </div></details><h2 id="fields" class="fields section-header">Fields<a 
href="#fields" class="anchor">§</a></h2><span id="structfield.element_field" 
class="structfield section-header"><a href="#structfield.element_field" 
class="anchor field">§</a><code>element_field: <a class="type" 
href="type.NestedFieldRef.html" title="type 
iceberg::spec::NestedFieldRef">NestedFieldRef</a></code></span><div 
class="docblock"><p>Element field of list type.</p>
-</div><h2 id="implementations" class="section-header">Implementations<a 
href="#implementations" class="anchor">§</a></h2><div 
id="implementations-list"><details class="toggle implementors-toggle" 
open><summary><section id="impl-ListType" class="impl"><a class="src rightside" 
href="../../src/iceberg/spec/datatypes.rs.html#708-713">source</a><a 
href="#impl-ListType" class="anchor">§</a><h3 class="code-header">impl <a 
class="struct" href="struct.ListType.html" title="struct iceberg::spec::L [...]
-</div></details></div></details></div><h2 id="trait-implementations" 
class="section-header">Trait Implementations<a href="#trait-implementations" 
class="anchor">§</a></h2><div id="trait-implementations-list"><details 
class="toggle implementors-toggle" open><summary><section 
id="impl-Clone-for-ListType" class="impl"><a class="src rightside" 
href="../../src/iceberg/spec/datatypes.rs.html#700">source</a><a 
href="#impl-Clone-for-ListType" class="anchor">§</a><h3 
class="code-header">impl <a c [...]
+</div><h2 id="implementations" class="section-header">Implementations<a 
href="#implementations" class="anchor">§</a></h2><div 
id="implementations-list"><details class="toggle implementors-toggle" 
open><summary><section id="impl-ListType" class="impl"><a class="src rightside" 
href="../../src/iceberg/spec/datatypes.rs.html#684-689">source</a><a 
href="#impl-ListType" class="anchor">§</a><h3 class="code-header">impl <a 
class="struct" href="struct.ListType.html" title="struct iceberg::spec::L [...]
+</div></details></div></details></div><h2 id="trait-implementations" 
class="section-header">Trait Implementations<a href="#trait-implementations" 
class="anchor">§</a></h2><div id="trait-implementations-list"><details 
class="toggle implementors-toggle" open><summary><section 
id="impl-Clone-for-ListType" class="impl"><a class="src rightside" 
href="../../src/iceberg/spec/datatypes.rs.html#676">source</a><a 
href="#impl-Clone-for-ListType" class="anchor">§</a><h3 
class="code-header">impl <a c [...]
 by <code>==</code>.</div></details><details class="toggle method-toggle" 
open><summary><section id="method.ne" class="method trait-impl"><span 
class="rightside"><span class="since" title="Stable since Rust version 
1.0.0">1.0.0</span> · <a class="src" 
href="https://doc.rust-lang.org/nightly/src/core/cmp.rs.html#263";>source</a></span><a
 href="#method.ne" class="anchor">§</a><h4 class="code-header">fn <a 
href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#method.ne";
 class= [...]
-sufficient, and should not be overridden without very good 
reason.</div></details></div></details><section id="impl-Eq-for-ListType" 
class="impl"><a class="src rightside" 
href="../../src/iceberg/spec/datatypes.rs.html#700">source</a><a 
href="#impl-Eq-for-ListType" class="anchor">§</a><h3 class="code-header">impl 
<a class="trait" 
href="https://doc.rust-lang.org/nightly/core/cmp/trait.Eq.html"; title="trait 
core::cmp::Eq">Eq</a> for <a class="struct" href="struct.ListType.html" 
title="struc [...]
+sufficient, and should not be overridden without very good 
reason.</div></details></div></details><section id="impl-Eq-for-ListType" 
class="impl"><a class="src rightside" 
href="../../src/iceberg/spec/datatypes.rs.html#676">source</a><a 
href="#impl-Eq-for-ListType" class="anchor">§</a><h3 class="code-header">impl 
<a class="trait" 
href="https://doc.rust-lang.org/nightly/core/cmp/trait.Eq.html"; title="trait 
core::cmp::Eq">Eq</a> for <a class="struct" href="struct.ListType.html" 
title="struc [...]
     T: 'static + ?<a class="trait" 
href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html"; 
title="trait core::marker::Sized">Sized</a>,</div></h3></section></summary><div 
class="impl-items"><details class="toggle method-toggle" open><summary><section 
id="method.type_id" class="method trait-impl"><a class="src rightside" 
href="https://doc.rust-lang.org/nightly/src/core/any.rs.html#141";>source</a><a 
href="#method.type_id" class="anchor">§</a><h4 class="code-header">fn <a href 
[...]
     T: ?<a class="trait" 
href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html"; 
title="trait core::marker::Sized">Sized</a>,</div></h3></section></summary><div 
class="impl-items"><details class="toggle method-toggle" open><summary><section 
id="method.borrow" class="method trait-impl"><a class="src rightside" 
href="https://doc.rust-lang.org/nightly/src/core/borrow.rs.html#210";>source</a><a
 href="#method.borrow" class="anchor">§</a><h4 class="code-header">fn <a 
href="https:/ [...]
     T: ?<a class="trait" 
href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html"; 
title="trait core::marker::Sized">Sized</a>,</div></h3></section></summary><div 
class="impl-items"><details class="toggle method-toggle" open><summary><section 
id="method.borrow_mut" class="method trait-impl"><a class="src rightside" 
href="https://doc.rust-lang.org/nightly/src/core/borrow.rs.html#217";>source</a><a
 href="#method.borrow_mut" class="anchor">§</a><h4 class="code-header">fn <a 
href= [...]
diff --git a/api/iceberg/spec/struct.MapType.html 
b/api/iceberg/spec/struct.MapType.html
index 25ff2475..e2f7693d 100644
--- a/api/iceberg/spec/struct.MapType.html
+++ b/api/iceberg/spec/struct.MapType.html
@@ -1,4 +1,4 @@
-<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta 
name="viewport" content="width=device-width, initial-scale=1.0"><meta 
name="generator" content="rustdoc"><meta name="description" content="A map is a 
collection of key-value pairs with a key type and a value type. Both the key 
field and value field each have an integer id that is unique in the table 
schema. Map keys are required and map values can be either optional or 
required. Both map keys and map values may be any type, [...]
+<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta 
name="viewport" content="width=device-width, initial-scale=1.0"><meta 
name="generator" content="rustdoc"><meta name="description" content="A map is a 
collection of key-value pairs with a key type and a value type. Both the key 
field and value field each have an integer id that is unique in the table 
schema. Map keys are required and map values can be either optional or 
required. Both map keys and map values may be any type, [...]
     pub key_field: <a class="type" href="type.NestedFieldRef.html" title="type 
iceberg::spec::NestedFieldRef">NestedFieldRef</a>,
     pub value_field: <a class="type" href="type.NestedFieldRef.html" 
title="type iceberg::spec::NestedFieldRef">NestedFieldRef</a>,
 }</code></pre><details class="toggle top-doc" open><summary 
class="hideme"><span>Expand description</span></summary><div 
class="docblock"><p>A map is a collection of key-value pairs with a key type 
and a value type.
@@ -7,10 +7,10 @@ Map keys are required and map values can be either optional 
or required.
 Both map keys and map values may be any type, including nested types.</p>
 </div></details><h2 id="fields" class="fields section-header">Fields<a 
href="#fields" class="anchor">§</a></h2><span id="structfield.key_field" 
class="structfield section-header"><a href="#structfield.key_field" 
class="anchor field">§</a><code>key_field: <a class="type" 
href="type.NestedFieldRef.html" title="type 
iceberg::spec::NestedFieldRef">NestedFieldRef</a></code></span><div 
class="docblock"><p>Field for key.</p>
 </div><span id="structfield.value_field" class="structfield section-header"><a 
href="#structfield.value_field" class="anchor field">§</a><code>value_field: <a 
class="type" href="type.NestedFieldRef.html" title="type 
iceberg::spec::NestedFieldRef">NestedFieldRef</a></code></span><div 
class="docblock"><p>Field for value.</p>
-</div><h2 id="implementations" class="section-header">Implementations<a 
href="#implementations" class="anchor">§</a></h2><div 
id="implementations-list"><details class="toggle implementors-toggle" 
open><summary><section id="impl-MapType" class="impl"><a class="src rightside" 
href="../../src/iceberg/spec/datatypes.rs.html#832-840">source</a><a 
href="#impl-MapType" class="anchor">§</a><h3 class="code-header">impl <a 
class="struct" href="struct.MapType.html" title="struct iceberg::spec::MapT 
[...]
-</div></details></div></details></div><h2 id="trait-implementations" 
class="section-header">Trait Implementations<a href="#trait-implementations" 
class="anchor">§</a></h2><div id="trait-implementations-list"><details 
class="toggle implementors-toggle" open><summary><section 
id="impl-Clone-for-MapType" class="impl"><a class="src rightside" 
href="../../src/iceberg/spec/datatypes.rs.html#820">source</a><a 
href="#impl-Clone-for-MapType" class="anchor">§</a><h3 class="code-header">impl 
<a cla [...]
+</div><h2 id="implementations" class="section-header">Implementations<a 
href="#implementations" class="anchor">§</a></h2><div 
id="implementations-list"><details class="toggle implementors-toggle" 
open><summary><section id="impl-MapType" class="impl"><a class="src rightside" 
href="../../src/iceberg/spec/datatypes.rs.html#808-816">source</a><a 
href="#impl-MapType" class="anchor">§</a><h3 class="code-header">impl <a 
class="struct" href="struct.MapType.html" title="struct iceberg::spec::MapT 
[...]
+</div></details></div></details></div><h2 id="trait-implementations" 
class="section-header">Trait Implementations<a href="#trait-implementations" 
class="anchor">§</a></h2><div id="trait-implementations-list"><details 
class="toggle implementors-toggle" open><summary><section 
id="impl-Clone-for-MapType" class="impl"><a class="src rightside" 
href="../../src/iceberg/spec/datatypes.rs.html#796">source</a><a 
href="#impl-Clone-for-MapType" class="anchor">§</a><h3 class="code-header">impl 
<a cla [...]
 by <code>==</code>.</div></details><details class="toggle method-toggle" 
open><summary><section id="method.ne" class="method trait-impl"><span 
class="rightside"><span class="since" title="Stable since Rust version 
1.0.0">1.0.0</span> · <a class="src" 
href="https://doc.rust-lang.org/nightly/src/core/cmp.rs.html#263";>source</a></span><a
 href="#method.ne" class="anchor">§</a><h4 class="code-header">fn <a 
href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#method.ne";
 class= [...]
-sufficient, and should not be overridden without very good 
reason.</div></details></div></details><section id="impl-Eq-for-MapType" 
class="impl"><a class="src rightside" 
href="../../src/iceberg/spec/datatypes.rs.html#820">source</a><a 
href="#impl-Eq-for-MapType" class="anchor">§</a><h3 class="code-header">impl <a 
class="trait" href="https://doc.rust-lang.org/nightly/core/cmp/trait.Eq.html"; 
title="trait core::cmp::Eq">Eq</a> for <a class="struct" 
href="struct.MapType.html" title="struct i [...]
+sufficient, and should not be overridden without very good 
reason.</div></details></div></details><section id="impl-Eq-for-MapType" 
class="impl"><a class="src rightside" 
href="../../src/iceberg/spec/datatypes.rs.html#796">source</a><a 
href="#impl-Eq-for-MapType" class="anchor">§</a><h3 class="code-header">impl <a 
class="trait" href="https://doc.rust-lang.org/nightly/core/cmp/trait.Eq.html"; 
title="trait core::cmp::Eq">Eq</a> for <a class="struct" 
href="struct.MapType.html" title="struct i [...]
     T: 'static + ?<a class="trait" 
href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html"; 
title="trait core::marker::Sized">Sized</a>,</div></h3></section></summary><div 
class="impl-items"><details class="toggle method-toggle" open><summary><section 
id="method.type_id" class="method trait-impl"><a class="src rightside" 
href="https://doc.rust-lang.org/nightly/src/core/any.rs.html#141";>source</a><a 
href="#method.type_id" class="anchor">§</a><h4 class="code-header">fn <a href 
[...]
     T: ?<a class="trait" 
href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html"; 
title="trait core::marker::Sized">Sized</a>,</div></h3></section></summary><div 
class="impl-items"><details class="toggle method-toggle" open><summary><section 
id="method.borrow" class="method trait-impl"><a class="src rightside" 
href="https://doc.rust-lang.org/nightly/src/core/borrow.rs.html#210";>source</a><a
 href="#method.borrow" class="anchor">§</a><h4 class="code-header">fn <a 
href="https:/ [...]
     T: ?<a class="trait" 
href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html"; 
title="trait core::marker::Sized">Sized</a>,</div></h3></section></summary><div 
class="impl-items"><details class="toggle method-toggle" open><summary><section 
id="method.borrow_mut" class="method trait-impl"><a class="src rightside" 
href="https://doc.rust-lang.org/nightly/src/core/borrow.rs.html#217";>source</a><a
 href="#method.borrow_mut" class="anchor">§</a><h4 class="code-header">fn <a 
href= [...]
diff --git a/api/iceberg/spec/struct.NestedField.html 
b/api/iceberg/spec/struct.NestedField.html
index ca02c8ec..aaeff867 100644
--- a/api/iceberg/spec/struct.NestedField.html
+++ b/api/iceberg/spec/struct.NestedField.html
@@ -16,22 +16,22 @@ Fields may have an optional comment or doc string. Fields 
can have default value
 </div><span id="structfield.doc" class="structfield section-header"><a 
href="#structfield.doc" class="anchor field">§</a><code>doc: <a class="enum" 
href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html"; 
title="enum core::option::Option">Option</a>&lt;<a class="struct" 
href="https://doc.rust-lang.org/nightly/alloc/string/struct.String.html"; 
title="struct alloc::string::String">String</a>&gt;</code></span><div 
class="docblock"><p>Fields may have an optional comment or doc st [...]
 </div><span id="structfield.initial_default" class="structfield 
section-header"><a href="#structfield.initial_default" class="anchor 
field">§</a><code>initial_default: <a class="enum" 
href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html"; 
title="enum core::option::Option">Option</a>&lt;<a class="enum" 
href="enum.Literal.html" title="enum 
iceberg::spec::Literal">Literal</a>&gt;</code></span><div 
class="docblock"><p>Used to populate the field’s value for all records that wer 
[...]
 </div><span id="structfield.write_default" class="structfield 
section-header"><a href="#structfield.write_default" class="anchor 
field">§</a><code>write_default: <a class="enum" 
href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html"; 
title="enum core::option::Option">Option</a>&lt;<a class="enum" 
href="enum.Literal.html" title="enum 
iceberg::spec::Literal">Literal</a>&gt;</code></span><div 
class="docblock"><p>Used to populate the field’s value for any records written 
after  [...]
-</div><h2 id="implementations" class="section-header">Implementations<a 
href="#implementations" class="anchor">§</a></h2><div 
id="implementations-list"><details class="toggle implementors-toggle" 
open><summary><section id="impl-NestedField" class="impl"><a class="src 
rightside" href="../../src/iceberg/spec/datatypes.rs.html#595-681">source</a><a 
href="#impl-NestedField" class="anchor">§</a><h3 class="code-header">impl <a 
class="struct" href="struct.NestedField.html" title="struct iceberg [...]
+</div><h2 id="implementations" class="section-header">Implementations<a 
href="#implementations" class="anchor">§</a></h2><div 
id="implementations-list"><details class="toggle implementors-toggle" 
open><summary><section id="impl-NestedField" class="impl"><a class="src 
rightside" href="../../src/iceberg/spec/datatypes.rs.html#595-657">source</a><a 
href="#impl-NestedField" class="anchor">§</a><h3 class="code-header">impl <a 
class="struct" href="struct.NestedField.html" title="struct iceberg [...]
     id: <a class="primitive" 
href="https://doc.rust-lang.org/nightly/std/primitive.i32.html";>i32</a>,
     name: impl <a class="trait" 
href="https://doc.rust-lang.org/nightly/alloc/string/trait.ToString.html"; 
title="trait alloc::string::ToString">ToString</a>,
     field_type: <a class="enum" href="enum.Type.html" title="enum 
iceberg::spec::Type">Type</a>,
     required: <a class="primitive" 
href="https://doc.rust-lang.org/nightly/std/primitive.bool.html";>bool</a>,
 ) -&gt; Self</h4></section></summary><div class="docblock"><p>Construct a new 
field.</p>
-</div></details><details class="toggle method-toggle" open><summary><section 
id="method.required" class="method"><a class="src rightside" 
href="../../src/iceberg/spec/datatypes.rs.html#610-620">source</a><h4 
class="code-header">pub fn <a href="#method.required" 
class="fn">required</a>(id: <a class="primitive" 
href="https://doc.rust-lang.org/nightly/std/primitive.i32.html";>i32</a>, name: 
impl <a class="trait" 
href="https://doc.rust-lang.org/nightly/alloc/string/trait.ToString.html"; 
title= [...]
-</div></details><details class="toggle method-toggle" open><summary><section 
id="method.optional" class="method"><a class="src rightside" 
href="../../src/iceberg/spec/datatypes.rs.html#623-633">source</a><h4 
class="code-header">pub fn <a href="#method.optional" 
class="fn">optional</a>(id: <a class="primitive" 
href="https://doc.rust-lang.org/nightly/std/primitive.i32.html";>i32</a>, name: 
impl <a class="trait" 
href="https://doc.rust-lang.org/nightly/alloc/string/trait.ToString.html"; 
title= [...]
-</div></details><details class="toggle method-toggle" open><summary><section 
id="method.list_element" class="method"><a class="src rightside" 
href="../../src/iceberg/spec/datatypes.rs.html#636-642">source</a><h4 
class="code-header">pub fn <a href="#method.list_element" 
class="fn">list_element</a>(id: <a class="primitive" 
href="https://doc.rust-lang.org/nightly/std/primitive.i32.html";>i32</a>, 
field_type: <a class="enum" href="enum.Type.html" title="enum 
iceberg::spec::Type">Type</a>, req [...]
-</div></details><details class="toggle method-toggle" open><summary><section 
id="method.map_key_element" class="method"><a class="src rightside" 
href="../../src/iceberg/spec/datatypes.rs.html#645-647">source</a><h4 
class="code-header">pub fn <a href="#method.map_key_element" 
class="fn">map_key_element</a>(id: <a class="primitive" 
href="https://doc.rust-lang.org/nightly/std/primitive.i32.html";>i32</a>, 
field_type: <a class="enum" href="enum.Type.html" title="enum 
iceberg::spec::Type">Type [...]
-</div></details><details class="toggle method-toggle" open><summary><section 
id="method.map_value_element" class="method"><a class="src rightside" 
href="../../src/iceberg/spec/datatypes.rs.html#650-656">source</a><h4 
class="code-header">pub fn <a href="#method.map_value_element" 
class="fn">map_value_element</a>(id: <a class="primitive" 
href="https://doc.rust-lang.org/nightly/std/primitive.i32.html";>i32</a>, 
field_type: <a class="enum" href="enum.Type.html" title="enum 
iceberg::spec::Type [...]
-</div></details><details class="toggle method-toggle" open><summary><section 
id="method.with_doc" class="method"><a class="src rightside" 
href="../../src/iceberg/spec/datatypes.rs.html#659-662">source</a><h4 
class="code-header">pub fn <a href="#method.with_doc" 
class="fn">with_doc</a>(self, doc: impl <a class="trait" 
href="https://doc.rust-lang.org/nightly/alloc/string/trait.ToString.html"; 
title="trait alloc::string::ToString">ToString</a>) -&gt; 
Self</h4></section></summary><div class=" [...]
-</div></details><details class="toggle method-toggle" open><summary><section 
id="method.with_initial_default" class="method"><a class="src rightside" 
href="../../src/iceberg/spec/datatypes.rs.html#665-668">source</a><h4 
class="code-header">pub fn <a href="#method.with_initial_default" 
class="fn">with_initial_default</a>(self, value: <a class="enum" 
href="enum.Literal.html" title="enum iceberg::spec::Literal">Literal</a>) -&gt; 
Self</h4></section></summary><div class="docblock"><p>Set the [...]
-</div></details><details class="toggle method-toggle" open><summary><section 
id="method.with_write_default" class="method"><a class="src rightside" 
href="../../src/iceberg/spec/datatypes.rs.html#671-674">source</a><h4 
class="code-header">pub fn <a href="#method.with_write_default" 
class="fn">with_write_default</a>(self, value: <a class="enum" 
href="enum.Literal.html" title="enum iceberg::spec::Literal">Literal</a>) -&gt; 
Self</h4></section></summary><div class="docblock"><p>Set the field [...]
+</div></details><details class="toggle method-toggle" open><summary><section 
id="method.required" class="method"><a class="src rightside" 
href="../../src/iceberg/spec/datatypes.rs.html#610-612">source</a><h4 
class="code-header">pub fn <a href="#method.required" 
class="fn">required</a>(id: <a class="primitive" 
href="https://doc.rust-lang.org/nightly/std/primitive.i32.html";>i32</a>, name: 
impl <a class="trait" 
href="https://doc.rust-lang.org/nightly/alloc/string/trait.ToString.html"; 
title= [...]
+</div></details><details class="toggle method-toggle" open><summary><section 
id="method.optional" class="method"><a class="src rightside" 
href="../../src/iceberg/spec/datatypes.rs.html#615-617">source</a><h4 
class="code-header">pub fn <a href="#method.optional" 
class="fn">optional</a>(id: <a class="primitive" 
href="https://doc.rust-lang.org/nightly/std/primitive.i32.html";>i32</a>, name: 
impl <a class="trait" 
href="https://doc.rust-lang.org/nightly/alloc/string/trait.ToString.html"; 
title= [...]
+</div></details><details class="toggle method-toggle" open><summary><section 
id="method.list_element" class="method"><a class="src rightside" 
href="../../src/iceberg/spec/datatypes.rs.html#620-622">source</a><h4 
class="code-header">pub fn <a href="#method.list_element" 
class="fn">list_element</a>(id: <a class="primitive" 
href="https://doc.rust-lang.org/nightly/std/primitive.i32.html";>i32</a>, 
field_type: <a class="enum" href="enum.Type.html" title="enum 
iceberg::spec::Type">Type</a>, req [...]
+</div></details><details class="toggle method-toggle" open><summary><section 
id="method.map_key_element" class="method"><a class="src rightside" 
href="../../src/iceberg/spec/datatypes.rs.html#625-627">source</a><h4 
class="code-header">pub fn <a href="#method.map_key_element" 
class="fn">map_key_element</a>(id: <a class="primitive" 
href="https://doc.rust-lang.org/nightly/std/primitive.i32.html";>i32</a>, 
field_type: <a class="enum" href="enum.Type.html" title="enum 
iceberg::spec::Type">Type [...]
+</div></details><details class="toggle method-toggle" open><summary><section 
id="method.map_value_element" class="method"><a class="src rightside" 
href="../../src/iceberg/spec/datatypes.rs.html#630-632">source</a><h4 
class="code-header">pub fn <a href="#method.map_value_element" 
class="fn">map_value_element</a>(id: <a class="primitive" 
href="https://doc.rust-lang.org/nightly/std/primitive.i32.html";>i32</a>, 
field_type: <a class="enum" href="enum.Type.html" title="enum 
iceberg::spec::Type [...]
+</div></details><details class="toggle method-toggle" open><summary><section 
id="method.with_doc" class="method"><a class="src rightside" 
href="../../src/iceberg/spec/datatypes.rs.html#635-638">source</a><h4 
class="code-header">pub fn <a href="#method.with_doc" 
class="fn">with_doc</a>(self, doc: impl <a class="trait" 
href="https://doc.rust-lang.org/nightly/alloc/string/trait.ToString.html"; 
title="trait alloc::string::ToString">ToString</a>) -&gt; 
Self</h4></section></summary><div class=" [...]
+</div></details><details class="toggle method-toggle" open><summary><section 
id="method.with_initial_default" class="method"><a class="src rightside" 
href="../../src/iceberg/spec/datatypes.rs.html#641-644">source</a><h4 
class="code-header">pub fn <a href="#method.with_initial_default" 
class="fn">with_initial_default</a>(self, value: <a class="enum" 
href="enum.Literal.html" title="enum iceberg::spec::Literal">Literal</a>) -&gt; 
Self</h4></section></summary><div class="docblock"><p>Set the [...]
+</div></details><details class="toggle method-toggle" open><summary><section 
id="method.with_write_default" class="method"><a class="src rightside" 
href="../../src/iceberg/spec/datatypes.rs.html#647-650">source</a><h4 
class="code-header">pub fn <a href="#method.with_write_default" 
class="fn">with_write_default</a>(self, value: <a class="enum" 
href="enum.Literal.html" title="enum iceberg::spec::Literal">Literal</a>) -&gt; 
Self</h4></section></summary><div class="docblock"><p>Set the field [...]
 </div></details></div></details></div><h2 id="trait-implementations" 
class="section-header">Trait Implementations<a href="#trait-implementations" 
class="anchor">§</a></h2><div id="trait-implementations-list"><details 
class="toggle implementors-toggle" open><summary><section 
id="impl-Clone-for-NestedField" class="impl"><a class="src rightside" 
href="../../src/iceberg/spec/datatypes.rs.html#516">source</a><a 
href="#impl-Clone-for-NestedField" class="anchor">§</a><h3 
class="code-header">imp [...]
-    __D: <a class="trait" 
href="https://docs.rs/serde/1.0.217/serde/de/trait.Deserializer.html"; 
title="trait 
serde::de::Deserializer">Deserializer</a>&lt;'de&gt;,</div></h4></section></summary><div
 class='docblock'>Deserialize this value from the given Serde deserializer. <a 
href="https://docs.rs/serde/1.0.217/serde/de/trait.Deserialize.html#tymethod.deserialize";>Read
 more</a></div></details></div></details><details class="toggle 
implementors-toggle" open><summary><section id="impl-Displ [...]
+    __D: <a class="trait" 
href="https://docs.rs/serde/1.0.217/serde/de/trait.Deserializer.html"; 
title="trait 
serde::de::Deserializer">Deserializer</a>&lt;'de&gt;,</div></h4></section></summary><div
 class='docblock'>Deserialize this value from the given Serde deserializer. <a 
href="https://docs.rs/serde/1.0.217/serde/de/trait.Deserialize.html#tymethod.deserialize";>Read
 more</a></div></details></div></details><details class="toggle 
implementors-toggle" open><summary><section id="impl-Displ [...]
 by <code>==</code>.</div></details><details class="toggle method-toggle" 
open><summary><section id="method.ne" class="method trait-impl"><span 
class="rightside"><span class="since" title="Stable since Rust version 
1.0.0">1.0.0</span> · <a class="src" 
href="https://doc.rust-lang.org/nightly/src/core/cmp.rs.html#263";>source</a></span><a
 href="#method.ne" class="anchor">§</a><h4 class="code-header">fn <a 
href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#method.ne";
 class= [...]
 sufficient, and should not be overridden without very good 
reason.</div></details></div></details><details class="toggle 
implementors-toggle" open><summary><section id="impl-Serialize-for-NestedField" 
class="impl"><a class="src rightside" 
href="../../src/iceberg/spec/datatypes.rs.html#516">source</a><a 
href="#impl-Serialize-for-NestedField" class="anchor">§</a><h3 
class="code-header">impl <a class="trait" 
href="https://docs.rs/serde/1.0.217/serde/ser/trait.Serialize.html"; 
title="trait se [...]
     __S: <a class="trait" 
href="https://docs.rs/serde/1.0.217/serde/ser/trait.Serializer.html"; 
title="trait 
serde::ser::Serializer">Serializer</a>,</div></h4></section></summary><div 
class='docblock'>Serialize this value into the given Serde serializer. <a 
href="https://docs.rs/serde/1.0.217/serde/ser/trait.Serialize.html#tymethod.serialize";>Read
 more</a></div></details></div></details><section id="impl-Eq-for-NestedField" 
class="impl"><a class="src rightside" href="../../src/iceberg/spe [...]
diff --git a/api/settings.html b/api/settings.html
index 0b4d7eab..8bb04340 100644
--- a/api/settings.html
+++ b/api/settings.html
@@ -1 +1 @@
-<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta 
name="viewport" content="width=device-width, initial-scale=1.0"><meta 
name="generator" content="rustdoc"><meta name="description" content="Settings 
of 
Rustdoc"><title>Settings</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-46f98efaafac5295.ttf.woff2,FiraSans-Regular-018c141bf0843ffd.woff2,FiraSans-Medium-8f9a781e4970d388.woff2,SourceCodePro-Regular-562
 [...]
\ No newline at end of file
+<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta 
name="viewport" content="width=device-width, initial-scale=1.0"><meta 
name="generator" content="rustdoc"><meta name="description" content="Settings 
of 
Rustdoc"><title>Settings</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-46f98efaafac5295.ttf.woff2,FiraSans-Regular-018c141bf0843ffd.woff2,FiraSans-Medium-8f9a781e4970d388.woff2,SourceCodePro-Regular-562
 [...]
\ No newline at end of file
diff --git a/api/src/iceberg/spec/datatypes.rs.html 
b/api/src/iceberg/spec/datatypes.rs.html
index 3c11857d..eddfb296 100644
--- a/api/src/iceberg/spec/datatypes.rs.html
+++ b/api/src/iceberg/spec/datatypes.rs.html
@@ -1203,30 +1203,6 @@
 <a href="#1203" id="1203">1203</a>
 <a href="#1204" id="1204">1204</a>
 <a href="#1205" id="1205">1205</a>
-<a href="#1206" id="1206">1206</a>
-<a href="#1207" id="1207">1207</a>
-<a href="#1208" id="1208">1208</a>
-<a href="#1209" id="1209">1209</a>
-<a href="#1210" id="1210">1210</a>
-<a href="#1211" id="1211">1211</a>
-<a href="#1212" id="1212">1212</a>
-<a href="#1213" id="1213">1213</a>
-<a href="#1214" id="1214">1214</a>
-<a href="#1215" id="1215">1215</a>
-<a href="#1216" id="1216">1216</a>
-<a href="#1217" id="1217">1217</a>
-<a href="#1218" id="1218">1218</a>
-<a href="#1219" id="1219">1219</a>
-<a href="#1220" id="1220">1220</a>
-<a href="#1221" id="1221">1221</a>
-<a href="#1222" id="1222">1222</a>
-<a href="#1223" id="1223">1223</a>
-<a href="#1224" id="1224">1224</a>
-<a href="#1225" id="1225">1225</a>
-<a href="#1226" id="1226">1226</a>
-<a href="#1227" id="1227">1227</a>
-<a href="#1228" id="1228">1228</a>
-<a href="#1229" id="1229">1229</a>
 </pre></div><pre class="rust"><code><span class="comment">// Licensed to the 
Apache Software Foundation (ASF) under one
 // or more contributor license agreements.  See the NOTICE file
 // distributed with this work for additional information
@@ -1837,37 +1813,17 @@
 
     <span class="doccomment">/// Construct a required field.
     </span><span class="kw">pub fn </span>required(id: i32, name: <span 
class="kw">impl </span>ToString, field_type: Type) -&gt; <span 
class="self">Self </span>{
-        <span class="self">Self </span>{
-            id,
-            name: name.to_string(),
-            required: <span class="bool-val">true</span>,
-            field_type: Box::new(field_type),
-            doc: <span class="prelude-val">None</span>,
-            initial_default: <span class="prelude-val">None</span>,
-            write_default: <span class="prelude-val">None</span>,
-        }
+        <span class="self">Self</span>::new(id, name, field_type, <span 
class="bool-val">true</span>)
     }
 
     <span class="doccomment">/// Construct an optional field.
     </span><span class="kw">pub fn </span>optional(id: i32, name: <span 
class="kw">impl </span>ToString, field_type: Type) -&gt; <span 
class="self">Self </span>{
-        <span class="self">Self </span>{
-            id,
-            name: name.to_string(),
-            required: <span class="bool-val">false</span>,
-            field_type: Box::new(field_type),
-            doc: <span class="prelude-val">None</span>,
-            initial_default: <span class="prelude-val">None</span>,
-            write_default: <span class="prelude-val">None</span>,
-        }
+        <span class="self">Self</span>::new(id, name, field_type, <span 
class="bool-val">false</span>)
     }
 
     <span class="doccomment">/// Construct list type's element field.
     </span><span class="kw">pub fn </span>list_element(id: i32, field_type: 
Type, required: bool) -&gt; <span class="self">Self </span>{
-        <span class="kw">if </span>required {
-            <span class="self">Self</span>::required(id, LIST_FIELD_NAME, 
field_type)
-        } <span class="kw">else </span>{
-            <span class="self">Self</span>::optional(id, LIST_FIELD_NAME, 
field_type)
-        }
+        <span class="self">Self</span>::new(id, LIST_FIELD_NAME, field_type, 
required)
     }
 
     <span class="doccomment">/// Construct map type's key field.
@@ -1877,11 +1833,7 @@
 
     <span class="doccomment">/// Construct map type's value field.
     </span><span class="kw">pub fn </span>map_value_element(id: i32, 
field_type: Type, required: bool) -&gt; <span class="self">Self </span>{
-        <span class="kw">if </span>required {
-            <span class="self">Self</span>::required(id, MAP_VALUE_FIELD_NAME, 
field_type)
-        } <span class="kw">else </span>{
-            <span class="self">Self</span>::optional(id, MAP_VALUE_FIELD_NAME, 
field_type)
-        }
+        <span class="self">Self</span>::new(id, MAP_VALUE_FIELD_NAME, 
field_type, required)
     }
 
     <span class="doccomment">/// Set the field's doc.


Reply via email to