#[non_exhaustive]pub struct EnvironmentLanguageBuilder { /* private fields */ }
Expand description
A builder for EnvironmentLanguage
.
Implementations§
source§impl EnvironmentLanguageBuilder
impl EnvironmentLanguageBuilder
sourcepub fn language(self, input: LanguageType) -> Self
pub fn language(self, input: LanguageType) -> Self
The programming language for the Docker images.
sourcepub fn set_language(self, input: Option<LanguageType>) -> Self
pub fn set_language(self, input: Option<LanguageType>) -> Self
The programming language for the Docker images.
sourcepub fn get_language(&self) -> &Option<LanguageType>
pub fn get_language(&self) -> &Option<LanguageType>
The programming language for the Docker images.
sourcepub fn images(self, input: EnvironmentImage) -> Self
pub fn images(self, input: EnvironmentImage) -> Self
Appends an item to images
.
To override the contents of this collection use set_images
.
The list of Docker images that are related by the specified programming language.
sourcepub fn set_images(self, input: Option<Vec<EnvironmentImage>>) -> Self
pub fn set_images(self, input: Option<Vec<EnvironmentImage>>) -> Self
The list of Docker images that are related by the specified programming language.
sourcepub fn get_images(&self) -> &Option<Vec<EnvironmentImage>>
pub fn get_images(&self) -> &Option<Vec<EnvironmentImage>>
The list of Docker images that are related by the specified programming language.
sourcepub fn build(self) -> EnvironmentLanguage
pub fn build(self) -> EnvironmentLanguage
Consumes the builder and constructs a EnvironmentLanguage
.
Trait Implementations§
source§impl Clone for EnvironmentLanguageBuilder
impl Clone for EnvironmentLanguageBuilder
source§fn clone(&self) -> EnvironmentLanguageBuilder
fn clone(&self) -> EnvironmentLanguageBuilder
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 EnvironmentLanguageBuilder
impl Debug for EnvironmentLanguageBuilder
source§impl Default for EnvironmentLanguageBuilder
impl Default for EnvironmentLanguageBuilder
source§fn default() -> EnvironmentLanguageBuilder
fn default() -> EnvironmentLanguageBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for EnvironmentLanguageBuilder
impl PartialEq for EnvironmentLanguageBuilder
source§fn eq(&self, other: &EnvironmentLanguageBuilder) -> bool
fn eq(&self, other: &EnvironmentLanguageBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for EnvironmentLanguageBuilder
Auto Trait Implementations§
impl Freeze for EnvironmentLanguageBuilder
impl RefUnwindSafe for EnvironmentLanguageBuilder
impl Send for EnvironmentLanguageBuilder
impl Sync for EnvironmentLanguageBuilder
impl Unpin for EnvironmentLanguageBuilder
impl UnwindSafe for EnvironmentLanguageBuilder
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.