Struct iceberg_rust_spec::spec::view_metadata::VersionBuilder
source · pub struct VersionBuilder { /* private fields */ }Expand description
Builder for Version.
Implementations§
source§impl VersionBuilder
impl VersionBuilder
sourcepub fn version_id(&mut self, value: i64) -> &mut Self
pub fn version_id(&mut self, value: i64) -> &mut Self
Monotonically increasing id indicating the version of the view. Starts with 1.
sourcepub fn timestamp_ms(&mut self, value: i64) -> &mut Self
pub fn timestamp_ms(&mut self, value: i64) -> &mut Self
Timestamp expressed in ms since epoch at which the version of the view was created.
sourcepub fn summary(&mut self, value: Summary) -> &mut Self
pub fn summary(&mut self, value: Summary) -> &mut Self
A string map summarizes the version changes, including operation, described in Summary.
sourcepub fn representations(&mut self, value: Vec<ViewRepresentation>) -> &mut Self
pub fn representations(&mut self, value: Vec<ViewRepresentation>) -> &mut Self
A list of “representations” as described in Representations.
sourcepub fn with_representation<VALUE>(&mut self, item: VALUE) -> &mut Self
pub fn with_representation<VALUE>(&mut self, item: VALUE) -> &mut Self
A list of “representations” as described in Representations.
sourcepub fn default_catalog(&mut self, value: Option<String>) -> &mut Self
pub fn default_catalog(&mut self, value: Option<String>) -> &mut Self
A string specifying the catalog to use when the table or view references in the view definition do not contain an explicit catalog.
Trait Implementations§
source§impl Clone for VersionBuilder
impl Clone for VersionBuilder
source§fn clone(&self) -> VersionBuilder
fn clone(&self) -> VersionBuilder
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 moreAuto Trait Implementations§
impl Freeze for VersionBuilder
impl RefUnwindSafe for VersionBuilder
impl Send for VersionBuilder
impl Sync for VersionBuilder
impl Unpin for VersionBuilder
impl UnwindSafe for VersionBuilder
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