pub struct DuckLakeOpenOptions {
pub create_if_not_exists: bool,
pub automatic_migration: bool,
pub apply_configured_encryption: bool,
}Expand description
Options controlling whether DuckLake creates or migrates catalog metadata.
Fields§
§create_if_not_exists: bool§automatic_migration: bool§apply_configured_encryption: boolImplementations§
Source§impl DuckLakeOpenOptions
impl DuckLakeOpenOptions
Sourcepub const fn initialize() -> Self
pub const fn initialize() -> Self
Options for first-time catalog initialization.
Sourcepub const fn attach_existing() -> Self
pub const fn attach_existing() -> Self
Options for opening an existing catalog without creating or migrating it.
Sourcepub const fn with_automatic_migration(self, automatic_migration: bool) -> Self
pub const fn with_automatic_migration(self, automatic_migration: bool) -> Self
Enables or disables DuckLake automatic migration for this open.
Trait Implementations§
Source§impl Clone for DuckLakeOpenOptions
impl Clone for DuckLakeOpenOptions
Source§fn clone(&self) -> DuckLakeOpenOptions
fn clone(&self) -> DuckLakeOpenOptions
Returns a duplicate 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 Debug for DuckLakeOpenOptions
impl Debug for DuckLakeOpenOptions
Source§impl Default for DuckLakeOpenOptions
impl Default for DuckLakeOpenOptions
Source§impl PartialEq for DuckLakeOpenOptions
impl PartialEq for DuckLakeOpenOptions
impl Copy for DuckLakeOpenOptions
impl Eq for DuckLakeOpenOptions
impl StructuralPartialEq for DuckLakeOpenOptions
Auto Trait Implementations§
impl Freeze for DuckLakeOpenOptions
impl RefUnwindSafe for DuckLakeOpenOptions
impl Send for DuckLakeOpenOptions
impl Sync for DuckLakeOpenOptions
impl Unpin for DuckLakeOpenOptions
impl UnsafeUnpin for DuckLakeOpenOptions
impl UnwindSafe for DuckLakeOpenOptions
Blanket Implementations§
§impl<T> AnyEq for T
impl<T> AnyEq for T
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.