Struct aws_sdk_codeartifact::types::PackageVersionOrigin  
source · #[non_exhaustive]pub struct PackageVersionOrigin {
    pub domain_entry_point: Option<DomainEntryPoint>,
    pub origin_type: Option<PackageVersionOriginType>,
}Expand description
Information about how a package version was added to a repository.
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.domain_entry_point: Option<DomainEntryPoint>A DomainEntryPoint object that contains information about from which repository or external connection the package version was added to the domain.
origin_type: 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.
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() -> PackageVersionOriginBuilder
 
pub fn builder() -> PackageVersionOriginBuilder
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
1.0.0 · source§fn clone_from(&mut self, source: &Self)
 
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for PackageVersionOrigin
 
impl Debug for PackageVersionOrigin
source§impl PartialEq for PackageVersionOrigin
 
impl PartialEq for PackageVersionOrigin
source§fn eq(&self, other: &PackageVersionOrigin) -> bool
 
fn eq(&self, other: &PackageVersionOrigin) -> bool
self and other values to be equal, and is used
by ==.