Struct aws_sdk_redshift::types::EventInfoMap
source · #[non_exhaustive]pub struct EventInfoMap {
pub event_id: Option<String>,
pub event_categories: Option<Vec<String>>,
pub event_description: Option<String>,
pub severity: Option<String>,
}
Expand description
Describes event information.
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.event_id: Option<String>
The identifier of an Amazon Redshift event.
event_categories: Option<Vec<String>>
The category of an Amazon Redshift event.
event_description: Option<String>
The description of an Amazon Redshift event.
severity: Option<String>
The severity of the event.
Values: ERROR, INFO
Implementations§
source§impl EventInfoMap
impl EventInfoMap
sourcepub fn event_categories(&self) -> &[String]
pub fn event_categories(&self) -> &[String]
The category of an Amazon Redshift event.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .event_categories.is_none()
.
sourcepub fn event_description(&self) -> Option<&str>
pub fn event_description(&self) -> Option<&str>
The description of an Amazon Redshift event.
source§impl EventInfoMap
impl EventInfoMap
sourcepub fn builder() -> EventInfoMapBuilder
pub fn builder() -> EventInfoMapBuilder
Creates a new builder-style object to manufacture EventInfoMap
.
Trait Implementations§
source§impl Clone for EventInfoMap
impl Clone for EventInfoMap
source§fn clone(&self) -> EventInfoMap
fn clone(&self) -> EventInfoMap
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for EventInfoMap
impl Debug for EventInfoMap
source§impl PartialEq for EventInfoMap
impl PartialEq for EventInfoMap
source§fn eq(&self, other: &EventInfoMap) -> bool
fn eq(&self, other: &EventInfoMap) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for EventInfoMap
Auto Trait Implementations§
impl Freeze for EventInfoMap
impl RefUnwindSafe for EventInfoMap
impl Send for EventInfoMap
impl Sync for EventInfoMap
impl Unpin for EventInfoMap
impl UnwindSafe for EventInfoMap
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>
Creates a shared type from an unshared type.