Struct aws_sdk_lambda::types::EnvironmentResponse
source · #[non_exhaustive]pub struct EnvironmentResponse {
pub variables: Option<HashMap<String, String>>,
pub error: Option<EnvironmentError>,
}
Expand description
The results of an operation to update or read environment variables. If the operation succeeds, the response contains the environment variables. If it fails, the response contains details about the error.
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.variables: Option<HashMap<String, String>>
Environment variable key-value pairs. Omitted from CloudTrail logs.
error: Option<EnvironmentError>
Error messages for environment variables that couldn't be applied.
Implementations§
source§impl EnvironmentResponse
impl EnvironmentResponse
sourcepub fn builder() -> EnvironmentResponseBuilder
pub fn builder() -> EnvironmentResponseBuilder
Creates a new builder-style object to manufacture EnvironmentResponse
.
Trait Implementations§
source§impl Clone for EnvironmentResponse
impl Clone for EnvironmentResponse
source§fn clone(&self) -> EnvironmentResponse
fn clone(&self) -> EnvironmentResponse
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 EnvironmentResponse
impl Debug for EnvironmentResponse
source§impl PartialEq for EnvironmentResponse
impl PartialEq for EnvironmentResponse
source§fn eq(&self, other: &EnvironmentResponse) -> bool
fn eq(&self, other: &EnvironmentResponse) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for EnvironmentResponse
Auto Trait Implementations§
impl Freeze for EnvironmentResponse
impl RefUnwindSafe for EnvironmentResponse
impl Send for EnvironmentResponse
impl Sync for EnvironmentResponse
impl Unpin for EnvironmentResponse
impl UnwindSafe for EnvironmentResponse
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.