Struct aws_sdk_databasemigration::types::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
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
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§
source§impl 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§
source§impl PartialEq<Event> for Event
impl PartialEq<Event> for Event
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§
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