#[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 associated with the registry to which you are uploading layer parts. If you do not specify a registry, the default registry is assumed.
repository_name: Option<String>
The name of the repository to which you are uploading layer parts.
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 associated with the registry to which you are uploading layer parts. If you do not specify a registry, the default registry is assumed.
sourcepub fn repository_name(&self) -> Option<&str>
pub fn repository_name(&self) -> Option<&str>
The name of the repository to which you are uploading layer parts.
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 ==
.