#[non_exhaustive]pub struct RecommendationRelatedAnomalyResource {
pub name: Option<String>,
pub type: Option<String>,
}
Expand description
Information about a resource in which DevOps Guru detected anomalous behavior.
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.name: Option<String>
The name of the resource.
type: Option<String>
The type of the resource. Resource types take the same form that is used by Amazon Web Services CloudFormation resource type identifiers, service-provider::service-name::data-type-name
. For example, AWS::RDS::DBCluster
. For more information, see Amazon Web Services resource and property types reference in the Amazon Web Services CloudFormation User Guide.
Implementations§
source§impl RecommendationRelatedAnomalyResource
impl RecommendationRelatedAnomalyResource
sourcepub fn type(&self) -> Option<&str>
pub fn type(&self) -> Option<&str>
The type of the resource. Resource types take the same form that is used by Amazon Web Services CloudFormation resource type identifiers, service-provider::service-name::data-type-name
. For example, AWS::RDS::DBCluster
. For more information, see Amazon Web Services resource and property types reference in the Amazon Web Services CloudFormation User Guide.
source§impl RecommendationRelatedAnomalyResource
impl RecommendationRelatedAnomalyResource
sourcepub fn builder() -> RecommendationRelatedAnomalyResourceBuilder
pub fn builder() -> RecommendationRelatedAnomalyResourceBuilder
Creates a new builder-style object to manufacture RecommendationRelatedAnomalyResource
.
Trait Implementations§
source§impl Clone for RecommendationRelatedAnomalyResource
impl Clone for RecommendationRelatedAnomalyResource
source§fn clone(&self) -> RecommendationRelatedAnomalyResource
fn clone(&self) -> RecommendationRelatedAnomalyResource
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq for RecommendationRelatedAnomalyResource
impl PartialEq for RecommendationRelatedAnomalyResource
source§fn eq(&self, other: &RecommendationRelatedAnomalyResource) -> bool
fn eq(&self, other: &RecommendationRelatedAnomalyResource) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for RecommendationRelatedAnomalyResource
Auto Trait Implementations§
impl Freeze for RecommendationRelatedAnomalyResource
impl RefUnwindSafe for RecommendationRelatedAnomalyResource
impl Send for RecommendationRelatedAnomalyResource
impl Sync for RecommendationRelatedAnomalyResource
impl Unpin for RecommendationRelatedAnomalyResource
impl UnwindSafe for RecommendationRelatedAnomalyResource
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
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>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more