#[non_exhaustive]pub struct ApplicationCodeConfiguration {
pub code_content: Option<CodeContent>,
pub code_content_type: CodeContentType,
}Expand description
Describes code configuration for an application.
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.code_content: Option<CodeContent>The location and type of the application code.
code_content_type: CodeContentTypeSpecifies whether the code content is in text or zip format.
Implementations§
source§impl ApplicationCodeConfiguration
impl ApplicationCodeConfiguration
sourcepub fn code_content(&self) -> Option<&CodeContent>
pub fn code_content(&self) -> Option<&CodeContent>
The location and type of the application code.
sourcepub fn code_content_type(&self) -> &CodeContentType
pub fn code_content_type(&self) -> &CodeContentType
Specifies whether the code content is in text or zip format.
source§impl ApplicationCodeConfiguration
impl ApplicationCodeConfiguration
sourcepub fn builder() -> ApplicationCodeConfigurationBuilder
pub fn builder() -> ApplicationCodeConfigurationBuilder
Creates a new builder-style object to manufacture ApplicationCodeConfiguration.
Trait Implementations§
source§impl Clone for ApplicationCodeConfiguration
impl Clone for ApplicationCodeConfiguration
source§fn clone(&self) -> ApplicationCodeConfiguration
fn clone(&self) -> ApplicationCodeConfiguration
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 ApplicationCodeConfiguration
impl Debug for ApplicationCodeConfiguration
source§impl PartialEq for ApplicationCodeConfiguration
impl PartialEq for ApplicationCodeConfiguration
source§fn eq(&self, other: &ApplicationCodeConfiguration) -> bool
fn eq(&self, other: &ApplicationCodeConfiguration) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for ApplicationCodeConfiguration
Auto Trait Implementations§
impl RefUnwindSafe for ApplicationCodeConfiguration
impl Send for ApplicationCodeConfiguration
impl Sync for ApplicationCodeConfiguration
impl Unpin for ApplicationCodeConfiguration
impl UnwindSafe for ApplicationCodeConfiguration
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>
Creates a shared type from an unshared type.