Struct aws_sdk_robomaker::model::Tool
source · [−]#[non_exhaustive]pub struct Tool {
pub stream_ui: Option<bool>,
pub name: Option<String>,
pub command: Option<String>,
pub stream_output_to_cloud_watch: Option<bool>,
pub exit_behavior: Option<ExitBehavior>,
}
Expand description
Information about a tool. Tools are used in a simulation job.
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.stream_ui: Option<bool>
Boolean indicating whether a streaming session will be configured for the tool. If True
, AWS RoboMaker will configure a connection so you can interact with the tool as it is running in the simulation. It must have a graphical user interface. The default is False
.
name: Option<String>
The name of the tool.
command: Option<String>
Command-line arguments for the tool. It must include the tool executable name.
stream_output_to_cloud_watch: Option<bool>
Boolean indicating whether logs will be recorded in CloudWatch for the tool. The default is False
.
exit_behavior: Option<ExitBehavior>
Exit behavior determines what happens when your tool quits running. RESTART
will cause your tool to be restarted. FAIL
will cause your job to exit. The default is RESTART
.
Implementations
sourceimpl Tool
impl Tool
sourcepub fn stream_ui(&self) -> Option<bool>
pub fn stream_ui(&self) -> Option<bool>
Boolean indicating whether a streaming session will be configured for the tool. If True
, AWS RoboMaker will configure a connection so you can interact with the tool as it is running in the simulation. It must have a graphical user interface. The default is False
.
sourcepub fn command(&self) -> Option<&str>
pub fn command(&self) -> Option<&str>
Command-line arguments for the tool. It must include the tool executable name.
sourcepub fn stream_output_to_cloud_watch(&self) -> Option<bool>
pub fn stream_output_to_cloud_watch(&self) -> Option<bool>
Boolean indicating whether logs will be recorded in CloudWatch for the tool. The default is False
.
sourcepub fn exit_behavior(&self) -> Option<&ExitBehavior>
pub fn exit_behavior(&self) -> Option<&ExitBehavior>
Exit behavior determines what happens when your tool quits running. RESTART
will cause your tool to be restarted. FAIL
will cause your job to exit. The default is RESTART
.
Trait Implementations
impl StructuralPartialEq for Tool
Auto Trait Implementations
impl RefUnwindSafe for Tool
impl Send for Tool
impl Sync for Tool
impl Unpin for Tool
impl UnwindSafe for Tool
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more