Struct aws_sdk_codeartifact::model::PackageVersionOrigin
source · #[non_exhaustive]pub struct PackageVersionOrigin { /* private fields */ }
Expand description
Information about how a package version was added to a repository.
Implementations§
source§impl PackageVersionOrigin
impl PackageVersionOrigin
sourcepub fn domain_entry_point(&self) -> Option<&DomainEntryPoint>
pub fn domain_entry_point(&self) -> Option<&DomainEntryPoint>
A DomainEntryPoint object that contains information about from which repository or external connection the package version was added to the domain.
sourcepub fn origin_type(&self) -> Option<&PackageVersionOriginType>
pub fn origin_type(&self) -> Option<&PackageVersionOriginType>
Describes how the package version was originally added to the domain. An INTERNAL
origin type means the package version was published directly to a repository in the domain. An EXTERNAL
origin type means the package version was ingested from an external connection.
source§impl PackageVersionOrigin
impl PackageVersionOrigin
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture PackageVersionOrigin
.
Trait Implementations§
source§impl Clone for PackageVersionOrigin
impl Clone for PackageVersionOrigin
source§fn clone(&self) -> PackageVersionOrigin
fn clone(&self) -> PackageVersionOrigin
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 PackageVersionOrigin
impl Debug for PackageVersionOrigin
source§impl PartialEq<PackageVersionOrigin> for PackageVersionOrigin
impl PartialEq<PackageVersionOrigin> for PackageVersionOrigin
source§fn eq(&self, other: &PackageVersionOrigin) -> bool
fn eq(&self, other: &PackageVersionOrigin) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.