Struct aws_sdk_codeartifact::types::DomainEntryPoint
source · #[non_exhaustive]pub struct DomainEntryPoint {
pub repository_name: Option<String>,
pub external_connection_name: Option<String>,
}
Expand description
Information about how a package originally entered the CodeArtifact domain. For packages published directly to CodeArtifact, the entry point is the repository it was published to. For packages ingested from an external repository, the entry point is the external connection that it was ingested from. An external connection is a CodeArtifact repository that is connected to an external repository such as the npm registry or NuGet gallery.
If a package version exists in a repository and is updated, for example if a package of the same version is added with additional assets, the package version's DomainEntryPoint
will not change from the original package version's value.
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.repository_name: Option<String>
The name of the repository that a package was originally published to.
external_connection_name: Option<String>
The name of the external connection that a package was ingested from.
Implementations§
source§impl DomainEntryPoint
impl DomainEntryPoint
sourcepub fn repository_name(&self) -> Option<&str>
pub fn repository_name(&self) -> Option<&str>
The name of the repository that a package was originally published to.
sourcepub fn external_connection_name(&self) -> Option<&str>
pub fn external_connection_name(&self) -> Option<&str>
The name of the external connection that a package was ingested from.
source§impl DomainEntryPoint
impl DomainEntryPoint
sourcepub fn builder() -> DomainEntryPointBuilder
pub fn builder() -> DomainEntryPointBuilder
Creates a new builder-style object to manufacture DomainEntryPoint
.
Trait Implementations§
source§impl Clone for DomainEntryPoint
impl Clone for DomainEntryPoint
source§fn clone(&self) -> DomainEntryPoint
fn clone(&self) -> DomainEntryPoint
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for DomainEntryPoint
impl Debug for DomainEntryPoint
source§impl PartialEq for DomainEntryPoint
impl PartialEq for DomainEntryPoint
source§fn eq(&self, other: &DomainEntryPoint) -> bool
fn eq(&self, other: &DomainEntryPoint) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for DomainEntryPoint
Auto Trait Implementations§
impl Freeze for DomainEntryPoint
impl RefUnwindSafe for DomainEntryPoint
impl Send for DomainEntryPoint
impl Sync for DomainEntryPoint
impl Unpin for DomainEntryPoint
impl UnwindSafe for DomainEntryPoint
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