pub struct EnvironmentResponse {
pub error: Option<EnvironmentError>,
pub variables: Option<HashMap<String, String>>,
}
Expand description
The results of an operation to update or read environment variables. If the operation is successful, the response contains the environment variables. If it failed, the response contains details about the error.
Fields§
§error: Option<EnvironmentError>
Error messages for environment variables that couldn't be applied.
variables: Option<HashMap<String, String>>
Environment variable key-value pairs.
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 Default for EnvironmentResponse
impl Default for EnvironmentResponse
Source§fn default() -> EnvironmentResponse
fn default() -> EnvironmentResponse
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for EnvironmentResponse
impl<'de> Deserialize<'de> for EnvironmentResponse
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for EnvironmentResponse
impl PartialEq for EnvironmentResponse
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