#[non_exhaustive]pub struct CancelConversionTaskInput {
pub conversion_task_id: Option<String>,
pub dry_run: Option<bool>,
pub reason_message: Option<String>,
}
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.conversion_task_id: Option<String>
The ID of the conversion task.
dry_run: Option<bool>
Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation
. Otherwise, it is UnauthorizedOperation
.
reason_message: Option<String>
The reason for canceling the conversion task.
Implementations§
source§impl CancelConversionTaskInput
impl CancelConversionTaskInput
sourcepub fn conversion_task_id(&self) -> Option<&str>
pub fn conversion_task_id(&self) -> Option<&str>
The ID of the conversion task.
sourcepub fn dry_run(&self) -> Option<bool>
pub fn dry_run(&self) -> Option<bool>
Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation
. Otherwise, it is UnauthorizedOperation
.
sourcepub fn reason_message(&self) -> Option<&str>
pub fn reason_message(&self) -> Option<&str>
The reason for canceling the conversion task.
source§impl CancelConversionTaskInput
impl CancelConversionTaskInput
sourcepub fn builder() -> CancelConversionTaskInputBuilder
pub fn builder() -> CancelConversionTaskInputBuilder
Creates a new builder-style object to manufacture CancelConversionTaskInput
.
Trait Implementations§
source§impl Clone for CancelConversionTaskInput
impl Clone for CancelConversionTaskInput
source§fn clone(&self) -> CancelConversionTaskInput
fn clone(&self) -> CancelConversionTaskInput
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 CancelConversionTaskInput
impl Debug for CancelConversionTaskInput
source§impl PartialEq<CancelConversionTaskInput> for CancelConversionTaskInput
impl PartialEq<CancelConversionTaskInput> for CancelConversionTaskInput
source§fn eq(&self, other: &CancelConversionTaskInput) -> bool
fn eq(&self, other: &CancelConversionTaskInput) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CancelConversionTaskInput
Auto Trait Implementations§
impl RefUnwindSafe for CancelConversionTaskInput
impl Send for CancelConversionTaskInput
impl Sync for CancelConversionTaskInput
impl Unpin for CancelConversionTaskInput
impl UnwindSafe for CancelConversionTaskInput
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