#[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 ==
.impl StructuralPartialEq for GetResourceMetadataInput
Auto Trait Implementations§
impl Freeze for GetResourceMetadataInput
impl RefUnwindSafe for GetResourceMetadataInput
impl Send for GetResourceMetadataInput
impl Sync for GetResourceMetadataInput
impl Unpin for GetResourceMetadataInput
impl UnwindSafe for GetResourceMetadataInput
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