#[non_exhaustive]pub struct GetUploadStatusOutput {
pub upload_id: String,
pub upload_status: UploadStatus,
pub namespace_arn: Option<String>,
pub namespace_name: Option<String>,
pub namespace_version: Option<i64>,
pub failure_reason: Option<Vec<String>>,
pub created_date: DateTime,
/* private fields */
}
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.upload_id: String
The ID of the upload.
upload_status: UploadStatus
The status of the upload. The initial status is IN_PROGRESS
. The response show all validation failures if the upload fails.
namespace_arn: Option<String>
The ARN of the upload.
namespace_name: Option<String>
The name of the upload's namespace.
namespace_version: Option<i64>
The version of the user's namespace. Defaults to the latest version of the user's namespace.
failure_reason: Option<Vec<String>>
The reason for an upload failure.
created_date: DateTime
The date at which the upload was created.
Implementations§
source§impl GetUploadStatusOutput
impl GetUploadStatusOutput
sourcepub fn upload_status(&self) -> &UploadStatus
pub fn upload_status(&self) -> &UploadStatus
The status of the upload. The initial status is IN_PROGRESS
. The response show all validation failures if the upload fails.
sourcepub fn namespace_arn(&self) -> Option<&str>
pub fn namespace_arn(&self) -> Option<&str>
The ARN of the upload.
sourcepub fn namespace_name(&self) -> Option<&str>
pub fn namespace_name(&self) -> Option<&str>
The name of the upload's namespace.
sourcepub fn namespace_version(&self) -> Option<i64>
pub fn namespace_version(&self) -> Option<i64>
The version of the user's namespace. Defaults to the latest version of the user's namespace.
sourcepub fn failure_reason(&self) -> &[String]
pub fn failure_reason(&self) -> &[String]
The reason for an upload failure.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .failure_reason.is_none()
.
sourcepub fn created_date(&self) -> &DateTime
pub fn created_date(&self) -> &DateTime
The date at which the upload was created.
source§impl GetUploadStatusOutput
impl GetUploadStatusOutput
sourcepub fn builder() -> GetUploadStatusOutputBuilder
pub fn builder() -> GetUploadStatusOutputBuilder
Creates a new builder-style object to manufacture GetUploadStatusOutput
.
Trait Implementations§
source§impl Clone for GetUploadStatusOutput
impl Clone for GetUploadStatusOutput
source§fn clone(&self) -> GetUploadStatusOutput
fn clone(&self) -> GetUploadStatusOutput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for GetUploadStatusOutput
impl Debug for GetUploadStatusOutput
source§impl PartialEq for GetUploadStatusOutput
impl PartialEq for GetUploadStatusOutput
source§fn eq(&self, other: &GetUploadStatusOutput) -> bool
fn eq(&self, other: &GetUploadStatusOutput) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl RequestId for GetUploadStatusOutput
impl RequestId for GetUploadStatusOutput
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
None
if the service could not be reached.impl StructuralPartialEq for GetUploadStatusOutput
Auto Trait Implementations§
impl Freeze for GetUploadStatusOutput
impl RefUnwindSafe for GetUploadStatusOutput
impl Send for GetUploadStatusOutput
impl Sync for GetUploadStatusOutput
impl Unpin for GetUploadStatusOutput
impl UnwindSafe for GetUploadStatusOutput
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
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>
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>
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 more