Struct aws_sdk_signer::types::SigningImageFormat
source · #[non_exhaustive]pub struct SigningImageFormat {
pub supported_formats: Vec<ImageFormat>,
pub default_format: ImageFormat,
}
Expand description
The image format of a AWS Signer platform or profile.
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.supported_formats: Vec<ImageFormat>
The supported formats of a signing image.
default_format: ImageFormat
The default format of a signing image.
Implementations§
source§impl SigningImageFormat
impl SigningImageFormat
sourcepub fn supported_formats(&self) -> &[ImageFormat]
pub fn supported_formats(&self) -> &[ImageFormat]
The supported formats of a signing image.
sourcepub fn default_format(&self) -> &ImageFormat
pub fn default_format(&self) -> &ImageFormat
The default format of a signing image.
source§impl SigningImageFormat
impl SigningImageFormat
sourcepub fn builder() -> SigningImageFormatBuilder
pub fn builder() -> SigningImageFormatBuilder
Creates a new builder-style object to manufacture SigningImageFormat
.
Trait Implementations§
source§impl Clone for SigningImageFormat
impl Clone for SigningImageFormat
source§fn clone(&self) -> SigningImageFormat
fn clone(&self) -> SigningImageFormat
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 SigningImageFormat
impl Debug for SigningImageFormat
source§impl PartialEq for SigningImageFormat
impl PartialEq for SigningImageFormat
source§fn eq(&self, other: &SigningImageFormat) -> bool
fn eq(&self, other: &SigningImageFormat) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for SigningImageFormat
Auto Trait Implementations§
impl Freeze for SigningImageFormat
impl RefUnwindSafe for SigningImageFormat
impl Send for SigningImageFormat
impl Sync for SigningImageFormat
impl Unpin for SigningImageFormat
impl UnwindSafe for SigningImageFormat
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>
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>
Converts
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>
Converts
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 moreCreates a shared type from an unshared type.