#[non_exhaustive]pub struct GetResourceMetadataInput {
pub service_type: Option<ServiceType>,
pub identifier: Option<String>,
}
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.service_type: Option<ServiceType>
The Amazon Web Services service for which Performance Insights returns metrics.
identifier: Option<String>
An immutable identifier for a data source that is unique for an Amazon Web Services Region. Performance Insights gathers metrics from this data source. To use a DB instance as a data source, specify its DbiResourceId
value. For example, specify db-ABCDEFGHIJKLMNOPQRSTU1VW2X
.
Implementations§
source§impl GetResourceMetadataInput
impl GetResourceMetadataInput
sourcepub fn service_type(&self) -> Option<&ServiceType>
pub fn service_type(&self) -> Option<&ServiceType>
The Amazon Web Services service for which Performance Insights returns metrics.
sourcepub fn identifier(&self) -> Option<&str>
pub fn identifier(&self) -> Option<&str>
An immutable identifier for a data source that is unique for an Amazon Web Services Region. Performance Insights gathers metrics from this data source. To use a DB instance as a data source, specify its DbiResourceId
value. For example, specify db-ABCDEFGHIJKLMNOPQRSTU1VW2X
.
source§impl GetResourceMetadataInput
impl GetResourceMetadataInput
sourcepub fn builder() -> GetResourceMetadataInputBuilder
pub fn builder() -> GetResourceMetadataInputBuilder
Creates a new builder-style object to manufacture GetResourceMetadataInput
.
Trait Implementations§
source§impl Clone for GetResourceMetadataInput
impl Clone for GetResourceMetadataInput
source§fn clone(&self) -> GetResourceMetadataInput
fn clone(&self) -> GetResourceMetadataInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for GetResourceMetadataInput
impl Debug for GetResourceMetadataInput
source§impl PartialEq for GetResourceMetadataInput
impl PartialEq for GetResourceMetadataInput
source§fn eq(&self, other: &GetResourceMetadataInput) -> bool
fn eq(&self, other: &GetResourceMetadataInput) -> bool
self
and other
values to be equal, and is used
by ==
.