pub struct LoadClientConfigProfileOptions {
pub config_source: Option<DataSource>,
pub config_file_profile: Option<String>,
pub config_file_strict: bool,
pub disable_file: bool,
pub disable_env: bool,
}Expand description
Options for loading a client configuration profile
Fields§
§config_source: Option<DataSource>Where to load config from. If unset, will try env vars then default path.
config_file_profile: Option<String>Specific profile to use
config_file_strict: boolIf true, will error if there are unrecognized keys.
disable_file: boolDisable loading from file
disable_env: boolDisable loading from environment variables
Trait Implementations§
Source§impl Default for LoadClientConfigProfileOptions
impl Default for LoadClientConfigProfileOptions
Source§fn default() -> LoadClientConfigProfileOptions
fn default() -> LoadClientConfigProfileOptions
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for LoadClientConfigProfileOptions
impl RefUnwindSafe for LoadClientConfigProfileOptions
impl Send for LoadClientConfigProfileOptions
impl Sync for LoadClientConfigProfileOptions
impl Unpin for LoadClientConfigProfileOptions
impl UnsafeUnpin for LoadClientConfigProfileOptions
impl UnwindSafe for LoadClientConfigProfileOptions
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> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request