pub struct AzdlsConfig {
pub connection_string: Option<String>,
pub account_name: Option<String>,
pub account_key: Option<String>,
pub sas_token: Option<String>,
pub tenant_id: Option<String>,
pub client_id: Option<String>,
pub client_secret: Option<String>,
pub authority_host: Option<String>,
pub endpoint: Option<String>,
pub filesystem: String,
}Expand description
Azure Data Lake Storage configuration.
This struct contains all the configuration options for connecting to Azure Data Lake Storage.
Use the builder pattern via AzdlsConfig::builder() to construct instances.
Fields§
§connection_string: Option<String>Connection string.
account_name: Option<String>Account name.
account_key: Option<String>Account key.
sas_token: Option<String>SAS token.
tenant_id: Option<String>Tenant ID.
client_id: Option<String>Client ID.
client_secret: Option<String>Client secret.
Authority host.
endpoint: Option<String>Endpoint URL.
filesystem: StringFilesystem name.
Implementations§
Source§impl AzdlsConfig
impl AzdlsConfig
Sourcepub fn builder() -> AzdlsConfigBuilder<((), (), (), (), (), (), (), (), (), ())>
pub fn builder() -> AzdlsConfigBuilder<((), (), (), (), (), (), (), (), (), ())>
Create a builder for building AzdlsConfig.
On the builder, call .connection_string(...)(optional), .account_name(...)(optional), .account_key(...)(optional), .sas_token(...)(optional), .tenant_id(...)(optional), .client_id(...)(optional), .client_secret(...)(optional), .authority_host(...)(optional), .endpoint(...)(optional), .filesystem(...)(optional) to set the values of the fields.
Finally, call .build() to create the instance of AzdlsConfig.
Trait Implementations§
Source§impl Clone for AzdlsConfig
impl Clone for AzdlsConfig
Source§fn clone(&self) -> AzdlsConfig
fn clone(&self) -> AzdlsConfig
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for AzdlsConfig
impl Debug for AzdlsConfig
Source§impl Default for AzdlsConfig
impl Default for AzdlsConfig
Source§fn default() -> AzdlsConfig
fn default() -> AzdlsConfig
Source§impl<'de> Deserialize<'de> for AzdlsConfig
impl<'de> Deserialize<'de> for AzdlsConfig
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>,
Source§impl PartialEq for AzdlsConfig
impl PartialEq for AzdlsConfig
Source§impl Serialize for AzdlsConfig
impl Serialize for AzdlsConfig
Source§impl TryFrom<&StorageConfig> for AzdlsConfig
impl TryFrom<&StorageConfig> for AzdlsConfig
impl Eq for AzdlsConfig
impl StructuralPartialEq for AzdlsConfig
Auto Trait Implementations§
impl Freeze for AzdlsConfig
impl RefUnwindSafe for AzdlsConfig
impl Send for AzdlsConfig
impl Sync for AzdlsConfig
impl Unpin for AzdlsConfig
impl UnwindSafe for AzdlsConfig
Blanket Implementations§
§impl<U> As for U
impl<U> As for U
§fn as_<T>(self) -> Twhere
T: CastFrom<U>,
fn as_<T>(self) -> Twhere
T: CastFrom<U>,
self to type T. The semantics of numeric casting with the as operator are followed, so <T as As>::as_::<U> can be used in the same way as T as U for numeric conversions. Read moreSource§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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Downcast for Twhere
T: AsAny + ?Sized,
impl<T> Downcast for Twhere
T: AsAny + ?Sized,
§fn downcast_ref<T>(&self) -> Option<&T>where
T: AsAny,
fn downcast_ref<T>(&self) -> Option<&T>where
T: AsAny,
Any.§fn downcast_mut<T>(&mut self) -> Option<&mut T>where
T: AsAny,
fn downcast_mut<T>(&mut self) -> Option<&mut T>where
T: AsAny,
Any.§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
key and return true if they are equal.§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
§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> ⓘ
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> ⓘ
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