#[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 the UpdatePackage
operation.
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>
The unique identifier for the package.
package_source: Option<PackageSource>
Amazon S3 bucket and key for the package.
package_description: Option<String>
A new description of the package.
commit_message: Option<String>
Commit message for the updated file, which is 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>
The unique identifier for the package.
sourcepub fn package_source(&self) -> Option<&PackageSource>
pub fn package_source(&self) -> Option<&PackageSource>
Amazon S3 bucket and key for the package.
sourcepub fn package_description(&self) -> Option<&str>
pub fn package_description(&self) -> Option<&str>
A new description of the package.
sourcepub fn commit_message(&self) -> Option<&str>
pub fn commit_message(&self) -> Option<&str>
Commit message for the updated file, which is 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 Freeze for UpdatePackageInput
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.