#[non_exhaustive]pub struct StopApplicationInput {
pub application_id: Option<String>,
pub force_stop: Option<bool>,
}
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.application_id: Option<String>
The unique identifier of the application you want to stop.
force_stop: Option<bool>
Stopping an application process can take a long time. Setting this parameter to true lets you force stop the application so you don't need to wait until the process finishes to apply another action on the application. The default value is false.
Implementations§
source§impl StopApplicationInput
impl StopApplicationInput
sourcepub fn application_id(&self) -> Option<&str>
pub fn application_id(&self) -> Option<&str>
The unique identifier of the application you want to stop.
sourcepub fn force_stop(&self) -> Option<bool>
pub fn force_stop(&self) -> Option<bool>
Stopping an application process can take a long time. Setting this parameter to true lets you force stop the application so you don't need to wait until the process finishes to apply another action on the application. The default value is false.
source§impl StopApplicationInput
impl StopApplicationInput
sourcepub fn builder() -> StopApplicationInputBuilder
pub fn builder() -> StopApplicationInputBuilder
Creates a new builder-style object to manufacture StopApplicationInput
.
Trait Implementations§
source§impl Clone for StopApplicationInput
impl Clone for StopApplicationInput
source§fn clone(&self) -> StopApplicationInput
fn clone(&self) -> StopApplicationInput
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 StopApplicationInput
impl Debug for StopApplicationInput
source§impl PartialEq for StopApplicationInput
impl PartialEq for StopApplicationInput
source§fn eq(&self, other: &StopApplicationInput) -> bool
fn eq(&self, other: &StopApplicationInput) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for StopApplicationInput
Auto Trait Implementations§
impl RefUnwindSafe for StopApplicationInput
impl Send for StopApplicationInput
impl Sync for StopApplicationInput
impl Unpin for StopApplicationInput
impl UnwindSafe for StopApplicationInput
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.