pub enum BucketInHost {
Auto,
True,
False,
}Expand description
Whether the bucket name is folded into the endpoint hostname for
virtual-hosted-style requests against a custom endpoint. This aligns the
DataFusion object-store path with DuckDB, which builds the virtual host
itself — so the same plain endpoint works on both backends.
Variants§
Auto
Fold the bucket into the host when addressing_style = "virtual" and
a custom endpoint is set (guarded against double-prefixing).
True
Always fold the bucket into the endpoint host.
False
Never rewrite the endpoint — pass it through verbatim.
Implementations§
Trait Implementations§
Source§impl Clone for BucketInHost
impl Clone for BucketInHost
Source§fn clone(&self) -> BucketInHost
fn clone(&self) -> BucketInHost
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for BucketInHost
Source§impl Debug for BucketInHost
impl Debug for BucketInHost
Source§impl Default for BucketInHost
impl Default for BucketInHost
Source§fn default() -> BucketInHost
fn default() -> BucketInHost
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for BucketInHost
impl<'de> Deserialize<'de> for BucketInHost
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for BucketInHost
Source§impl PartialEq for BucketInHost
impl PartialEq for BucketInHost
Source§fn eq(&self, other: &BucketInHost) -> bool
fn eq(&self, other: &BucketInHost) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for BucketInHost
Auto Trait Implementations§
impl Freeze for BucketInHost
impl RefUnwindSafe for BucketInHost
impl Send for BucketInHost
impl Sync for BucketInHost
impl Unpin for BucketInHost
impl UnsafeUnpin for BucketInHost
impl UnwindSafe for BucketInHost
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.