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