#[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
source§fn eq(&self, other: &DescribeCommandsInput) -> bool
fn eq(&self, other: &DescribeCommandsInput) -> bool
self and other values to be equal, and is used
by ==.