#[non_exhaustive]pub struct CreateAppBlockInput {
pub name: Option<String>,
pub description: Option<String>,
pub display_name: Option<String>,
pub source_s3_location: Option<S3Location>,
pub setup_script_details: Option<ScriptDetails>,
pub tags: Option<HashMap<String, String>>,
pub post_setup_script_details: Option<ScriptDetails>,
pub packaging_type: Option<PackagingType>,
}
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.name: Option<String>
The name of the app block.
description: Option<String>
The description of the app block.
display_name: Option<String>
The display name of the app block. This is not displayed to the user.
source_s3_location: Option<S3Location>
The source S3 location of the app block.
setup_script_details: Option<ScriptDetails>
The setup script details of the app block. This must be provided for the CUSTOM
PackagingType.
The tags assigned to the app block.
post_setup_script_details: Option<ScriptDetails>
The post setup script details of the app block. This can only be provided for the APPSTREAM2
PackagingType.
packaging_type: Option<PackagingType>
The packaging type of the app block.
Implementations§
source§impl CreateAppBlockInput
impl CreateAppBlockInput
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
The description of the app block.
sourcepub fn display_name(&self) -> Option<&str>
pub fn display_name(&self) -> Option<&str>
The display name of the app block. This is not displayed to the user.
sourcepub fn source_s3_location(&self) -> Option<&S3Location>
pub fn source_s3_location(&self) -> Option<&S3Location>
The source S3 location of the app block.
sourcepub fn setup_script_details(&self) -> Option<&ScriptDetails>
pub fn setup_script_details(&self) -> Option<&ScriptDetails>
The setup script details of the app block. This must be provided for the CUSTOM
PackagingType.
The tags assigned to the app block.
sourcepub fn post_setup_script_details(&self) -> Option<&ScriptDetails>
pub fn post_setup_script_details(&self) -> Option<&ScriptDetails>
The post setup script details of the app block. This can only be provided for the APPSTREAM2
PackagingType.
sourcepub fn packaging_type(&self) -> Option<&PackagingType>
pub fn packaging_type(&self) -> Option<&PackagingType>
The packaging type of the app block.
source§impl CreateAppBlockInput
impl CreateAppBlockInput
sourcepub fn builder() -> CreateAppBlockInputBuilder
pub fn builder() -> CreateAppBlockInputBuilder
Creates a new builder-style object to manufacture CreateAppBlockInput
.
Trait Implementations§
source§impl Clone for CreateAppBlockInput
impl Clone for CreateAppBlockInput
source§fn clone(&self) -> CreateAppBlockInput
fn clone(&self) -> CreateAppBlockInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for CreateAppBlockInput
impl Debug for CreateAppBlockInput
source§impl PartialEq for CreateAppBlockInput
impl PartialEq for CreateAppBlockInput
source§fn eq(&self, other: &CreateAppBlockInput) -> bool
fn eq(&self, other: &CreateAppBlockInput) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CreateAppBlockInput
Auto Trait Implementations§
impl Freeze for CreateAppBlockInput
impl RefUnwindSafe for CreateAppBlockInput
impl Send for CreateAppBlockInput
impl Sync for CreateAppBlockInput
impl Unpin for CreateAppBlockInput
impl UnwindSafe for CreateAppBlockInput
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