#[non_exhaustive]pub struct UploadLayerPartInput {
pub registry_id: Option<String>,
pub repository_name: Option<String>,
pub upload_id: Option<String>,
pub part_first_byte: Option<i64>,
pub part_last_byte: Option<i64>,
pub layer_part_blob: Option<Blob>,
}
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.registry_id: Option<String>
The Amazon Web Services account ID, or registry alias, that's associated with the registry that you're uploading layer parts to. If you do not specify a registry, the default public registry is assumed.
repository_name: Option<String>
The name of the repository that you're uploading layer parts to.
upload_id: Option<String>
The upload ID from a previous InitiateLayerUpload
operation to associate with the layer part upload.
part_first_byte: Option<i64>
The position of the first byte of the layer part witin the overall image layer.
part_last_byte: Option<i64>
The position of the last byte of the layer part within the overall image layer.
layer_part_blob: Option<Blob>
The base64-encoded layer part payload.
Implementations§
source§impl UploadLayerPartInput
impl UploadLayerPartInput
sourcepub fn registry_id(&self) -> Option<&str>
pub fn registry_id(&self) -> Option<&str>
The Amazon Web Services account ID, or registry alias, that's associated with the registry that you're uploading layer parts to. If you do not specify a registry, the default public registry is assumed.
sourcepub fn repository_name(&self) -> Option<&str>
pub fn repository_name(&self) -> Option<&str>
The name of the repository that you're uploading layer parts to.
sourcepub fn upload_id(&self) -> Option<&str>
pub fn upload_id(&self) -> Option<&str>
The upload ID from a previous InitiateLayerUpload
operation to associate with the layer part upload.
sourcepub fn part_first_byte(&self) -> Option<i64>
pub fn part_first_byte(&self) -> Option<i64>
The position of the first byte of the layer part witin the overall image layer.
sourcepub fn part_last_byte(&self) -> Option<i64>
pub fn part_last_byte(&self) -> Option<i64>
The position of the last byte of the layer part within the overall image layer.
sourcepub fn layer_part_blob(&self) -> Option<&Blob>
pub fn layer_part_blob(&self) -> Option<&Blob>
The base64-encoded layer part payload.
source§impl UploadLayerPartInput
impl UploadLayerPartInput
sourcepub fn builder() -> UploadLayerPartInputBuilder
pub fn builder() -> UploadLayerPartInputBuilder
Creates a new builder-style object to manufacture UploadLayerPartInput
.
Trait Implementations§
source§impl Clone for UploadLayerPartInput
impl Clone for UploadLayerPartInput
source§fn clone(&self) -> UploadLayerPartInput
fn clone(&self) -> UploadLayerPartInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for UploadLayerPartInput
impl Debug for UploadLayerPartInput
source§impl PartialEq for UploadLayerPartInput
impl PartialEq for UploadLayerPartInput
source§fn eq(&self, other: &UploadLayerPartInput) -> bool
fn eq(&self, other: &UploadLayerPartInput) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for UploadLayerPartInput
Auto Trait Implementations§
impl Freeze for UploadLayerPartInput
impl RefUnwindSafe for UploadLayerPartInput
impl Send for UploadLayerPartInput
impl Sync for UploadLayerPartInput
impl Unpin for UploadLayerPartInput
impl UnwindSafe for UploadLayerPartInput
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