#[non_exhaustive]pub struct DescribeCommandsInput {
pub deployment_id: Option<String>,
pub instance_id: Option<String>,
pub command_ids: Option<Vec<String>>,
}Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.deployment_id: Option<String>The deployment ID. If you include this parameter, DescribeCommands returns a description of the commands associated with the specified deployment.
instance_id: Option<String>The instance ID. If you include this parameter, DescribeCommands returns a description of the commands associated with the specified instance.
command_ids: Option<Vec<String>>An array of command IDs. If you include this parameter, DescribeCommands returns a description of the specified commands. Otherwise, it returns a description of every command.
Implementations§
source§impl DescribeCommandsInput
impl DescribeCommandsInput
sourcepub fn deployment_id(&self) -> Option<&str>
pub fn deployment_id(&self) -> Option<&str>
The deployment ID. If you include this parameter, DescribeCommands returns a description of the commands associated with the specified deployment.
sourcepub fn instance_id(&self) -> Option<&str>
pub fn instance_id(&self) -> Option<&str>
The instance ID. If you include this parameter, DescribeCommands returns a description of the commands associated with the specified instance.
sourcepub fn command_ids(&self) -> &[String]
pub fn command_ids(&self) -> &[String]
An array of command IDs. If you include this parameter, DescribeCommands returns a description of the specified commands. Otherwise, it returns a description of every command.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .command_ids.is_none().
source§impl DescribeCommandsInput
impl DescribeCommandsInput
sourcepub fn builder() -> DescribeCommandsInputBuilder
pub fn builder() -> DescribeCommandsInputBuilder
Creates a new builder-style object to manufacture DescribeCommandsInput.
Trait Implementations§
source§impl Clone for DescribeCommandsInput
impl Clone for DescribeCommandsInput
source§fn clone(&self) -> DescribeCommandsInput
fn clone(&self) -> DescribeCommandsInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for DescribeCommandsInput
impl Debug for DescribeCommandsInput
source§impl PartialEq for DescribeCommandsInput
impl PartialEq for DescribeCommandsInput
impl StructuralPartialEq for DescribeCommandsInput
Auto Trait Implementations§
impl Freeze for DescribeCommandsInput
impl RefUnwindSafe for DescribeCommandsInput
impl Send for DescribeCommandsInput
impl Sync for DescribeCommandsInput
impl Unpin for DescribeCommandsInput
impl UnwindSafe for DescribeCommandsInput
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)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>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more