Struct aws_sdk_codeartifact::operation::put_package_origin_configuration::PutPackageOriginConfigurationOutput
source · #[non_exhaustive]pub struct PutPackageOriginConfigurationOutput {
pub origin_configuration: Option<PackageOriginConfiguration>,
/* private fields */
}
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.origin_configuration: Option<PackageOriginConfiguration>
A PackageOriginConfiguration object that describes the origin configuration set for the package. It contains a PackageOriginRestrictions object that describes how new versions of the package can be introduced to the repository.
Implementations§
source§impl PutPackageOriginConfigurationOutput
impl PutPackageOriginConfigurationOutput
sourcepub fn origin_configuration(&self) -> Option<&PackageOriginConfiguration>
pub fn origin_configuration(&self) -> Option<&PackageOriginConfiguration>
A PackageOriginConfiguration object that describes the origin configuration set for the package. It contains a PackageOriginRestrictions object that describes how new versions of the package can be introduced to the repository.
source§impl PutPackageOriginConfigurationOutput
impl PutPackageOriginConfigurationOutput
sourcepub fn builder() -> PutPackageOriginConfigurationOutputBuilder
pub fn builder() -> PutPackageOriginConfigurationOutputBuilder
Creates a new builder-style object to manufacture PutPackageOriginConfigurationOutput
.
Trait Implementations§
source§impl Clone for PutPackageOriginConfigurationOutput
impl Clone for PutPackageOriginConfigurationOutput
source§fn clone(&self) -> PutPackageOriginConfigurationOutput
fn clone(&self) -> PutPackageOriginConfigurationOutput
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 PartialEq for PutPackageOriginConfigurationOutput
impl PartialEq for PutPackageOriginConfigurationOutput
source§fn eq(&self, other: &PutPackageOriginConfigurationOutput) -> bool
fn eq(&self, other: &PutPackageOriginConfigurationOutput) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl RequestId for PutPackageOriginConfigurationOutput
impl RequestId for PutPackageOriginConfigurationOutput
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
Returns the request ID, or
None
if the service could not be reached.impl StructuralPartialEq for PutPackageOriginConfigurationOutput
Auto Trait Implementations§
impl Freeze for PutPackageOriginConfigurationOutput
impl RefUnwindSafe for PutPackageOriginConfigurationOutput
impl Send for PutPackageOriginConfigurationOutput
impl Sync for PutPackageOriginConfigurationOutput
impl Unpin for PutPackageOriginConfigurationOutput
impl UnwindSafe for PutPackageOriginConfigurationOutput
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.