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.
This field is required.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 get_package_version(&self) -> &Option<PackageVersionDescription>
pub fn get_package_version(&self) -> &Option<PackageVersionDescription>
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 for DescribePackageVersionOutputBuilder
impl PartialEq for DescribePackageVersionOutputBuilder
source§fn eq(&self, other: &DescribePackageVersionOutputBuilder) -> bool
fn eq(&self, other: &DescribePackageVersionOutputBuilder) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for DescribePackageVersionOutputBuilder
Auto Trait Implementations§
impl Freeze for DescribePackageVersionOutputBuilder
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)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>
Converts
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>
Converts
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 moreCreates a shared type from an unshared type.