Struct aws_sdk_glue::types::RegistryId
source · #[non_exhaustive]pub struct RegistryId {
pub registry_name: Option<String>,
pub registry_arn: Option<String>,
}Expand description
A wrapper structure that may contain the registry name and Amazon Resource Name (ARN).
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.registry_name: Option<String>Name of the registry. Used only for lookup. One of RegistryArn or RegistryName has to be provided.
registry_arn: Option<String>Arn of the registry to be updated. One of RegistryArn or RegistryName has to be provided.
Implementations§
source§impl RegistryId
impl RegistryId
sourcepub fn registry_name(&self) -> Option<&str>
pub fn registry_name(&self) -> Option<&str>
Name of the registry. Used only for lookup. One of RegistryArn or RegistryName has to be provided.
sourcepub fn registry_arn(&self) -> Option<&str>
pub fn registry_arn(&self) -> Option<&str>
Arn of the registry to be updated. One of RegistryArn or RegistryName has to be provided.
source§impl RegistryId
impl RegistryId
sourcepub fn builder() -> RegistryIdBuilder
pub fn builder() -> RegistryIdBuilder
Creates a new builder-style object to manufacture RegistryId.
Trait Implementations§
source§impl Clone for RegistryId
impl Clone for RegistryId
source§fn clone(&self) -> RegistryId
fn clone(&self) -> RegistryId
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 RegistryId
impl Debug for RegistryId
source§impl PartialEq for RegistryId
impl PartialEq for RegistryId
source§fn eq(&self, other: &RegistryId) -> bool
fn eq(&self, other: &RegistryId) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for RegistryId
Auto Trait Implementations§
impl RefUnwindSafe for RegistryId
impl Send for RegistryId
impl Sync for RegistryId
impl Unpin for RegistryId
impl UnwindSafe for RegistryId
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.