#[non_exhaustive]pub struct ConfigurationEvent {
pub monitored_resource_arn: Option<String>,
pub event_status: Option<ConfigurationEventStatus>,
pub event_resource_type: Option<ConfigurationEventResourceType>,
pub event_time: Option<DateTime>,
pub event_detail: Option<String>,
pub event_resource_name: Option<String>,
}
Expand description
The event information.
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.monitored_resource_arn: Option<String>
The resource monitored by Application Insights.
event_status: Option<ConfigurationEventStatus>
The status of the configuration update event. Possible values include INFO, WARN, and ERROR.
event_resource_type: Option<ConfigurationEventResourceType>
The resource type that Application Insights attempted to configure, for example, CLOUDWATCH_ALARM.
event_time: Option<DateTime>
The timestamp of the event.
event_detail: Option<String>
The details of the event in plain text.
event_resource_name: Option<String>
The name of the resource Application Insights attempted to configure.
Implementations
sourceimpl ConfigurationEvent
impl ConfigurationEvent
sourcepub fn monitored_resource_arn(&self) -> Option<&str>
pub fn monitored_resource_arn(&self) -> Option<&str>
The resource monitored by Application Insights.
sourcepub fn event_status(&self) -> Option<&ConfigurationEventStatus>
pub fn event_status(&self) -> Option<&ConfigurationEventStatus>
The status of the configuration update event. Possible values include INFO, WARN, and ERROR.
sourcepub fn event_resource_type(&self) -> Option<&ConfigurationEventResourceType>
pub fn event_resource_type(&self) -> Option<&ConfigurationEventResourceType>
The resource type that Application Insights attempted to configure, for example, CLOUDWATCH_ALARM.
sourcepub fn event_time(&self) -> Option<&DateTime>
pub fn event_time(&self) -> Option<&DateTime>
The timestamp of the event.
sourcepub fn event_detail(&self) -> Option<&str>
pub fn event_detail(&self) -> Option<&str>
The details of the event in plain text.
sourcepub fn event_resource_name(&self) -> Option<&str>
pub fn event_resource_name(&self) -> Option<&str>
The name of the resource Application Insights attempted to configure.
sourceimpl ConfigurationEvent
impl ConfigurationEvent
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture ConfigurationEvent
.
Trait Implementations
sourceimpl Clone for ConfigurationEvent
impl Clone for ConfigurationEvent
sourcefn clone(&self) -> ConfigurationEvent
fn clone(&self) -> ConfigurationEvent
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 ConfigurationEvent
impl Debug for ConfigurationEvent
sourceimpl PartialEq<ConfigurationEvent> for ConfigurationEvent
impl PartialEq<ConfigurationEvent> for ConfigurationEvent
sourcefn eq(&self, other: &ConfigurationEvent) -> bool
fn eq(&self, other: &ConfigurationEvent) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &ConfigurationEvent) -> bool
fn ne(&self, other: &ConfigurationEvent) -> bool
This method tests for !=
.
impl StructuralPartialEq for ConfigurationEvent
Auto Trait Implementations
impl RefUnwindSafe for ConfigurationEvent
impl Send for ConfigurationEvent
impl Sync for ConfigurationEvent
impl Unpin for ConfigurationEvent
impl UnwindSafe for ConfigurationEvent
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