#[non_exhaustive]pub struct ExportedEnvironmentVariable {
pub name: Option<String>,
pub value: Option<String>,
}
Expand description
Contains information about an exported environment variable.
Exported environment variables are used in conjunction with CodePipeline to export environment variables from the current build stage to subsequent stages in the pipeline. For more information, see Working with variables in the CodePipeline User Guide.
During a build, the value of a variable is available starting with the install
phase. It can be updated between the start of the install
phase and the end of the post_build
phase. After the post_build
phase ends, the value of exported variables cannot change.
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 exported environment variable.
value: Option<String>
The value assigned to the exported environment variable.
Implementations§
source§impl ExportedEnvironmentVariable
impl ExportedEnvironmentVariable
sourcepub fn builder() -> ExportedEnvironmentVariableBuilder
pub fn builder() -> ExportedEnvironmentVariableBuilder
Creates a new builder-style object to manufacture ExportedEnvironmentVariable
.
Trait Implementations§
source§impl Clone for ExportedEnvironmentVariable
impl Clone for ExportedEnvironmentVariable
source§fn clone(&self) -> ExportedEnvironmentVariable
fn clone(&self) -> ExportedEnvironmentVariable
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ExportedEnvironmentVariable
impl Debug for ExportedEnvironmentVariable
impl StructuralPartialEq for ExportedEnvironmentVariable
Auto Trait Implementations§
impl Freeze for ExportedEnvironmentVariable
impl RefUnwindSafe for ExportedEnvironmentVariable
impl Send for ExportedEnvironmentVariable
impl Sync for ExportedEnvironmentVariable
impl Unpin for ExportedEnvironmentVariable
impl UnwindSafe for ExportedEnvironmentVariable
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)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