Struct aws_sdk_codeartifact::operation::describe_package::builders::DescribePackageOutputBuilder
source · #[non_exhaustive]pub struct DescribePackageOutputBuilder { /* private fields */ }
Expand description
A builder for DescribePackageOutput
.
Implementations§
source§impl DescribePackageOutputBuilder
impl DescribePackageOutputBuilder
sourcepub fn package(self, input: PackageDescription) -> Self
pub fn package(self, input: PackageDescription) -> Self
A PackageDescription object that contains information about the requested package.
This field is required.sourcepub fn set_package(self, input: Option<PackageDescription>) -> Self
pub fn set_package(self, input: Option<PackageDescription>) -> Self
A PackageDescription object that contains information about the requested package.
sourcepub fn get_package(&self) -> &Option<PackageDescription>
pub fn get_package(&self) -> &Option<PackageDescription>
A PackageDescription object that contains information about the requested package.
sourcepub fn build(self) -> DescribePackageOutput
pub fn build(self) -> DescribePackageOutput
Consumes the builder and constructs a DescribePackageOutput
.
Trait Implementations§
source§impl Clone for DescribePackageOutputBuilder
impl Clone for DescribePackageOutputBuilder
source§fn clone(&self) -> DescribePackageOutputBuilder
fn clone(&self) -> DescribePackageOutputBuilder
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 DescribePackageOutputBuilder
impl Debug for DescribePackageOutputBuilder
source§impl Default for DescribePackageOutputBuilder
impl Default for DescribePackageOutputBuilder
source§fn default() -> DescribePackageOutputBuilder
fn default() -> DescribePackageOutputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for DescribePackageOutputBuilder
impl PartialEq for DescribePackageOutputBuilder
source§fn eq(&self, other: &DescribePackageOutputBuilder) -> bool
fn eq(&self, other: &DescribePackageOutputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for DescribePackageOutputBuilder
Auto Trait Implementations§
impl Freeze for DescribePackageOutputBuilder
impl RefUnwindSafe for DescribePackageOutputBuilder
impl Send for DescribePackageOutputBuilder
impl Sync for DescribePackageOutputBuilder
impl Unpin for DescribePackageOutputBuilder
impl UnwindSafe for DescribePackageOutputBuilder
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.