Struct lance_io::object_store::StorageOptions
source · pub struct StorageOptions(pub HashMap<String, String>);Tuple Fields§
§0: HashMap<String, String>Implementations§
source§impl StorageOptions
impl StorageOptions
sourcepub fn with_env_azure(&mut self)
pub fn with_env_azure(&mut self)
Add values from the environment to storage options
sourcepub fn with_env_gcs(&mut self)
pub fn with_env_gcs(&mut self)
Add values from the environment to storage options
sourcepub fn with_env_s3(&mut self)
pub fn with_env_s3(&mut self)
Add values from the environment to storage options
sourcepub fn allow_http(&self) -> bool
pub fn allow_http(&self) -> bool
Denotes if unsecure connections via http are allowed
sourcepub fn as_azure_options(&self) -> HashMap<AzureConfigKey, String>
pub fn as_azure_options(&self) -> HashMap<AzureConfigKey, String>
Subset of options relevant for azure storage
sourcepub fn as_s3_options(&self) -> HashMap<AmazonS3ConfigKey, String>
pub fn as_s3_options(&self) -> HashMap<AmazonS3ConfigKey, String>
Subset of options relevant for s3 storage
sourcepub fn as_gcs_options(&self) -> HashMap<GoogleConfigKey, String>
pub fn as_gcs_options(&self) -> HashMap<GoogleConfigKey, String>
Subset of options relevant for gcs storage
Trait Implementations§
source§impl Clone for StorageOptions
impl Clone for StorageOptions
source§fn clone(&self) -> StorageOptions
fn clone(&self) -> StorageOptions
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 Debug for StorageOptions
impl Debug for StorageOptions
source§impl Default for StorageOptions
impl Default for StorageOptions
source§fn default() -> StorageOptions
fn default() -> StorageOptions
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl RefUnwindSafe for StorageOptions
impl Send for StorageOptions
impl Sync for StorageOptions
impl Unpin for StorageOptions
impl UnwindSafe for StorageOptions
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