Struct aws_sdk_quicksight::types::DashboardError
source · #[non_exhaustive]pub struct DashboardError {
pub type: Option<DashboardErrorType>,
pub message: Option<String>,
pub violated_entities: Option<Vec<Entity>>,
}Expand description
Dashboard error.
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.type: Option<DashboardErrorType>Type.
message: Option<String>Message.
violated_entities: Option<Vec<Entity>>Lists the violated entities that caused the dashboard error.
Implementations§
source§impl DashboardError
impl DashboardError
sourcepub fn type(&self) -> Option<&DashboardErrorType>
pub fn type(&self) -> Option<&DashboardErrorType>
Type.
sourcepub fn violated_entities(&self) -> &[Entity]
pub fn violated_entities(&self) -> &[Entity]
Lists the violated entities that caused the dashboard error.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .violated_entities.is_none().
source§impl DashboardError
impl DashboardError
sourcepub fn builder() -> DashboardErrorBuilder
pub fn builder() -> DashboardErrorBuilder
Creates a new builder-style object to manufacture DashboardError.
Trait Implementations§
source§impl Clone for DashboardError
impl Clone for DashboardError
source§fn clone(&self) -> DashboardError
fn clone(&self) -> DashboardError
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 DashboardError
impl Debug for DashboardError
source§impl PartialEq for DashboardError
impl PartialEq for DashboardError
source§fn eq(&self, other: &DashboardError) -> bool
fn eq(&self, other: &DashboardError) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for DashboardError
Auto Trait Implementations§
impl RefUnwindSafe for DashboardError
impl Send for DashboardError
impl Sync for DashboardError
impl Unpin for DashboardError
impl UnwindSafe for DashboardError
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.