#[non_exhaustive]pub struct DescribeTypeInput {
pub type: Option<RegistryType>,
pub type_name: Option<String>,
pub arn: Option<String>,
pub version_id: Option<String>,
pub publisher_id: Option<String>,
pub public_version_number: 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.type: Option<RegistryType>
The kind of extension.
Conditional: You must specify either TypeName
and Type
, or Arn
.
type_name: Option<String>
The name of the extension.
Conditional: You must specify either TypeName
and Type
, or Arn
.
arn: Option<String>
The Amazon Resource Name (ARN) of the extension.
Conditional: You must specify either TypeName
and Type
, or Arn
.
version_id: Option<String>
The ID of a specific version of the extension. The version ID is the value at the end of the Amazon Resource Name (ARN) assigned to the extension version when it is registered.
If you specify a VersionId
, DescribeType
returns information about that specific extension version. Otherwise, it returns information about the default extension version.
publisher_id: Option<String>
The publisher ID of the extension publisher.
Extensions provided by Amazon Web Services are not assigned a publisher ID.
public_version_number: Option<String>
The version number of a public third-party extension.
Implementations§
source§impl DescribeTypeInput
impl DescribeTypeInput
sourcepub fn type(&self) -> Option<&RegistryType>
pub fn type(&self) -> Option<&RegistryType>
The kind of extension.
Conditional: You must specify either TypeName
and Type
, or Arn
.
sourcepub fn type_name(&self) -> Option<&str>
pub fn type_name(&self) -> Option<&str>
The name of the extension.
Conditional: You must specify either TypeName
and Type
, or Arn
.
sourcepub fn arn(&self) -> Option<&str>
pub fn arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) of the extension.
Conditional: You must specify either TypeName
and Type
, or Arn
.
sourcepub fn version_id(&self) -> Option<&str>
pub fn version_id(&self) -> Option<&str>
The ID of a specific version of the extension. The version ID is the value at the end of the Amazon Resource Name (ARN) assigned to the extension version when it is registered.
If you specify a VersionId
, DescribeType
returns information about that specific extension version. Otherwise, it returns information about the default extension version.
sourcepub fn publisher_id(&self) -> Option<&str>
pub fn publisher_id(&self) -> Option<&str>
The publisher ID of the extension publisher.
Extensions provided by Amazon Web Services are not assigned a publisher ID.
sourcepub fn public_version_number(&self) -> Option<&str>
pub fn public_version_number(&self) -> Option<&str>
The version number of a public third-party extension.
source§impl DescribeTypeInput
impl DescribeTypeInput
sourcepub fn builder() -> DescribeTypeInputBuilder
pub fn builder() -> DescribeTypeInputBuilder
Creates a new builder-style object to manufacture DescribeTypeInput
.
Trait Implementations§
source§impl Clone for DescribeTypeInput
impl Clone for DescribeTypeInput
source§fn clone(&self) -> DescribeTypeInput
fn clone(&self) -> DescribeTypeInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for DescribeTypeInput
impl Debug for DescribeTypeInput
source§impl PartialEq for DescribeTypeInput
impl PartialEq for DescribeTypeInput
source§fn eq(&self, other: &DescribeTypeInput) -> bool
fn eq(&self, other: &DescribeTypeInput) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for DescribeTypeInput
Auto Trait Implementations§
impl Freeze for DescribeTypeInput
impl RefUnwindSafe for DescribeTypeInput
impl Send for DescribeTypeInput
impl Sync for DescribeTypeInput
impl Unpin for DescribeTypeInput
impl UnwindSafe for DescribeTypeInput
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