#[non_exhaustive]pub struct ConfigurationOverrides {
pub application_configuration: Option<Vec<Configuration>>,
pub monitoring_configuration: Option<MonitoringConfiguration>,
}
Expand description
A configuration specification to be used to override existing configurations.
Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.application_configuration: Option<Vec<Configuration>>
The override configurations for the application.
monitoring_configuration: Option<MonitoringConfiguration>
The override configurations for monitoring.
Implementations
sourceimpl ConfigurationOverrides
impl ConfigurationOverrides
sourcepub fn application_configuration(&self) -> Option<&[Configuration]>
pub fn application_configuration(&self) -> Option<&[Configuration]>
The override configurations for the application.
sourcepub fn monitoring_configuration(&self) -> Option<&MonitoringConfiguration>
pub fn monitoring_configuration(&self) -> Option<&MonitoringConfiguration>
The override configurations for monitoring.
sourceimpl ConfigurationOverrides
impl ConfigurationOverrides
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture ConfigurationOverrides
Trait Implementations
sourceimpl Clone for ConfigurationOverrides
impl Clone for ConfigurationOverrides
sourcefn clone(&self) -> ConfigurationOverrides
fn clone(&self) -> ConfigurationOverrides
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for ConfigurationOverrides
impl Debug for ConfigurationOverrides
sourceimpl PartialEq<ConfigurationOverrides> for ConfigurationOverrides
impl PartialEq<ConfigurationOverrides> for ConfigurationOverrides
sourcefn eq(&self, other: &ConfigurationOverrides) -> bool
fn eq(&self, other: &ConfigurationOverrides) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &ConfigurationOverrides) -> bool
fn ne(&self, other: &ConfigurationOverrides) -> bool
This method tests for !=
.
impl StructuralPartialEq for ConfigurationOverrides
Auto Trait Implementations
impl RefUnwindSafe for ConfigurationOverrides
impl Send for ConfigurationOverrides
impl Sync for ConfigurationOverrides
impl Unpin for ConfigurationOverrides
impl UnwindSafe for ConfigurationOverrides
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more