Struct aws_sdk_databasemigration::model::Event
source · [−]#[non_exhaustive]pub struct Event {
pub source_identifier: Option<String>,
pub source_type: Option<SourceType>,
pub message: Option<String>,
pub event_categories: Option<Vec<String>>,
pub date: Option<DateTime>,
}
Expand description
Describes an identifiable significant activity that affects a replication instance or task. This object can provide the message, the available event categories, the date and source of the event, and the DMS resource type.
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.source_identifier: Option<String>
The identifier of an event source.
source_type: Option<SourceType>
The type of DMS resource that generates events.
Valid values: replication-instance | endpoint | replication-task
message: Option<String>
The event message.
event_categories: Option<Vec<String>>
The event categories available for the specified source type.
date: Option<DateTime>
The date of the event.
Implementations
sourceimpl Event
impl Event
sourcepub fn source_identifier(&self) -> Option<&str>
pub fn source_identifier(&self) -> Option<&str>
The identifier of an event source.
sourcepub fn source_type(&self) -> Option<&SourceType>
pub fn source_type(&self) -> Option<&SourceType>
The type of DMS resource that generates events.
Valid values: replication-instance | endpoint | replication-task
sourcepub fn event_categories(&self) -> Option<&[String]>
pub fn event_categories(&self) -> Option<&[String]>
The event categories available for the specified source type.
Trait Implementations
impl StructuralPartialEq for Event
Auto Trait Implementations
impl RefUnwindSafe for Event
impl Send for Event
impl Sync for Event
impl Unpin for Event
impl UnwindSafe for Event
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