Struct openc2::Command [] [src]

pub struct Command {
    pub action: Action,
    pub target: Target,
    pub actuator: Option<Actuator>,
    // some fields omitted
}

An OpenC2 command communicates an action to be performed on a target.

Fields

The task or activity to be performed.

The object of the action. The action is performed on the target.

The object which will perform the action on the target.

Methods

impl Command
[src]

[src]

Create a new command without an actuator.

[src]

Create a new command including an actuator.

Trait Implementations

impl Debug for Command
[src]

[src]

Formats the value using the given formatter. Read more

impl Clone for Command
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl PartialEq for Command
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

[src]

This method tests for !=.

Auto Trait Implementations

impl Send for Command

impl Sync for Command