#[non_exhaustive]pub struct UpdatePackageInput {
pub package_id: Option<String>,
pub package_source: Option<PackageSource>,
pub package_description: Option<String>,
pub commit_message: Option<String>,
}
Expand description
Container for request parameters to
operation. UpdatePackage
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.package_id: Option<String>
Unique identifier for the package.
package_source: Option<PackageSource>
The S3 location for importing the package specified as S3BucketName
and S3Key
package_description: Option<String>
New description of the package.
commit_message: Option<String>
An info message for the new version which will be shown as part of GetPackageVersionHistoryResponse
.
Implementations§
source§impl UpdatePackageInput
impl UpdatePackageInput
sourcepub fn package_id(&self) -> Option<&str>
pub fn package_id(&self) -> Option<&str>
Unique identifier for the package.
sourcepub fn package_source(&self) -> Option<&PackageSource>
pub fn package_source(&self) -> Option<&PackageSource>
The S3 location for importing the package specified as S3BucketName
and S3Key
sourcepub fn package_description(&self) -> Option<&str>
pub fn package_description(&self) -> Option<&str>
New description of the package.
sourcepub fn commit_message(&self) -> Option<&str>
pub fn commit_message(&self) -> Option<&str>
An info message for the new version which will be shown as part of GetPackageVersionHistoryResponse
.
source§impl UpdatePackageInput
impl UpdatePackageInput
sourcepub fn builder() -> UpdatePackageInputBuilder
pub fn builder() -> UpdatePackageInputBuilder
Creates a new builder-style object to manufacture UpdatePackageInput
.
Trait Implementations§
source§impl Clone for UpdatePackageInput
impl Clone for UpdatePackageInput
source§fn clone(&self) -> UpdatePackageInput
fn clone(&self) -> UpdatePackageInput
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 UpdatePackageInput
impl Debug for UpdatePackageInput
source§impl PartialEq for UpdatePackageInput
impl PartialEq for UpdatePackageInput
source§fn eq(&self, other: &UpdatePackageInput) -> bool
fn eq(&self, other: &UpdatePackageInput) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for UpdatePackageInput
Auto Trait Implementations§
impl RefUnwindSafe for UpdatePackageInput
impl Send for UpdatePackageInput
impl Sync for UpdatePackageInput
impl Unpin for UpdatePackageInput
impl UnwindSafe for UpdatePackageInput
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.