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 ==
.impl StructuralPartialEq for PackageVersionOrigin
Auto Trait Implementations§
impl Freeze for PackageVersionOrigin
impl RefUnwindSafe for PackageVersionOrigin
impl Send for PackageVersionOrigin
impl Sync for PackageVersionOrigin
impl Unpin for PackageVersionOrigin
impl UnwindSafe for PackageVersionOrigin
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