#[non_exhaustive]pub struct StartEnvironmentResponse {
pub environment: Option<Environment>,
/* private fields */
}Expand description
Message included in the response field of operations returned from StartEnvironment once the operation is complete.
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.environment: Option<Environment>Environment that was started.
Implementations§
Source§impl StartEnvironmentResponse
impl StartEnvironmentResponse
pub fn new() -> Self
Sourcepub fn set_environment<T: Into<Option<Environment>>>(self, v: T) -> Self
pub fn set_environment<T: Into<Option<Environment>>>(self, v: T) -> Self
Sets the value of environment.
Trait Implementations§
Source§impl Clone for StartEnvironmentResponse
impl Clone for StartEnvironmentResponse
Source§fn clone(&self) -> StartEnvironmentResponse
fn clone(&self) -> StartEnvironmentResponse
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 StartEnvironmentResponse
impl Debug for StartEnvironmentResponse
Source§impl Default for StartEnvironmentResponse
impl Default for StartEnvironmentResponse
Source§fn default() -> StartEnvironmentResponse
fn default() -> StartEnvironmentResponse
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for StartEnvironmentResponsewhere
StartEnvironmentResponse: Default,
impl<'de> Deserialize<'de> for StartEnvironmentResponsewhere
StartEnvironmentResponse: Default,
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 Message for StartEnvironmentResponse
impl Message for StartEnvironmentResponse
Source§impl PartialEq for StartEnvironmentResponse
impl PartialEq for StartEnvironmentResponse
Source§impl Serialize for StartEnvironmentResponse
impl Serialize for StartEnvironmentResponse
impl StructuralPartialEq for StartEnvironmentResponse
Auto Trait Implementations§
impl Freeze for StartEnvironmentResponse
impl RefUnwindSafe for StartEnvironmentResponse
impl Send for StartEnvironmentResponse
impl Sync for StartEnvironmentResponse
impl Unpin for StartEnvironmentResponse
impl UnwindSafe for StartEnvironmentResponse
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