#[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>(self, v: T) -> Selfwhere
T: Into<Environment>,
pub fn set_environment<T>(self, v: T) -> Selfwhere
T: Into<Environment>,
Sets the value of environment.
Sourcepub fn set_or_clear_environment<T>(self, v: Option<T>) -> Selfwhere
T: Into<Environment>,
pub fn set_or_clear_environment<T>(self, v: Option<T>) -> Selfwhere
T: Into<Environment>,
Sets or clears 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 duplicate 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 Message for StartEnvironmentResponse
impl Message for StartEnvironmentResponse
Source§impl PartialEq for StartEnvironmentResponse
impl PartialEq 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