Enum polars_io::cloud::options::GoogleConfigKey   
#[non_exhaustive]pub enum GoogleConfigKey {
    ServiceAccount,
    ServiceAccountKey,
    Bucket,
    ApplicationCredentials,
    Client(ClientConfigKey),
}Available on crate feature 
gcp only.Expand description
Configuration keys for [GoogleCloudStorageBuilder]
Configuration via keys can be done via [GoogleCloudStorageBuilder::with_config]
§Example
let builder = GoogleCloudStorageBuilder::new()
    .with_config("google_service_account".parse().unwrap(), "my-service-account")
    .with_config(GoogleConfigKey::Bucket, "my-bucket");Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
ServiceAccount
Path to the service account file
Supported keys:
- google_service_account
- service_account
- google_service_account_path
- service_account_path
ServiceAccountKey
The serialized service account key.
Supported keys:
- google_service_account_key
- service_account_key
Bucket
Bucket name
See [GoogleCloudStorageBuilder::with_bucket_name] for details.
Supported keys:
- google_bucket
- google_bucket_name
- bucket
- bucket_name
ApplicationCredentials
Application credentials path
See [GoogleCloudStorageBuilder::with_application_credentials].
Client(ClientConfigKey)
Client options
Trait Implementations§
§impl AsRef<str> for GoogleConfigKey
 
impl AsRef<str> for GoogleConfigKey
§impl Clone for GoogleConfigKey
 
impl Clone for GoogleConfigKey
§fn clone(&self) -> GoogleConfigKey
 
fn clone(&self) -> GoogleConfigKey
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 more§impl Debug for GoogleConfigKey
 
impl Debug for GoogleConfigKey
§impl<'de> Deserialize<'de> for GoogleConfigKey
 
impl<'de> Deserialize<'de> for GoogleConfigKey
§fn deserialize<__D>(
    __deserializer: __D
) -> Result<GoogleConfigKey, <__D as Deserializer<'de>>::Error>where
    __D: Deserializer<'de>,
 
fn deserialize<__D>(
    __deserializer: __D
) -> Result<GoogleConfigKey, <__D as Deserializer<'de>>::Error>where
    __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
§impl FromStr for GoogleConfigKey
 
impl FromStr for GoogleConfigKey
§impl Hash for GoogleConfigKey
 
impl Hash for GoogleConfigKey
§impl PartialEq for GoogleConfigKey
 
impl PartialEq for GoogleConfigKey
§fn eq(&self, other: &GoogleConfigKey) -> bool
 
fn eq(&self, other: &GoogleConfigKey) -> bool
This method tests for 
self and other values to be equal, and is used
by ==.§impl Serialize for GoogleConfigKey
 
impl Serialize for GoogleConfigKey
§fn serialize<__S>(
    &self,
    __serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
    __S: Serializer,
 
fn serialize<__S>(
    &self,
    __serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
    __S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl Copy for GoogleConfigKey
impl Eq for GoogleConfigKey
impl StructuralPartialEq for GoogleConfigKey
Auto Trait Implementations§
impl Freeze for GoogleConfigKey
impl RefUnwindSafe for GoogleConfigKey
impl Send for GoogleConfigKey
impl Sync for GoogleConfigKey
impl Unpin for GoogleConfigKey
impl UnwindSafe for GoogleConfigKey
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
§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.§impl<T> Instrument for T
 
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
 
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
 
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
 
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
 
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts 
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
 
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts 
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more