#[non_exhaustive]pub struct SimulationApplicationConfig {
pub application: Option<String>,
pub application_version: Option<String>,
pub launch_config: Option<LaunchConfig>,
pub upload_configurations: Option<Vec<UploadConfiguration>>,
pub world_configs: Option<Vec<WorldConfig>>,
pub use_default_upload_configurations: Option<bool>,
pub tools: Option<Vec<Tool>>,
pub use_default_tools: Option<bool>,
}
Expand description
Information about a simulation application configuration.
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.application: Option<String>
The application information for the simulation application.
application_version: Option<String>
The version of the simulation application.
launch_config: Option<LaunchConfig>
The launch configuration for the simulation application.
upload_configurations: Option<Vec<UploadConfiguration>>
Information about upload configurations for the simulation application.
world_configs: Option<Vec<WorldConfig>>
A list of world configurations.
use_default_upload_configurations: Option<bool>
A Boolean indicating whether to use default upload configurations. By default, .ros
and .gazebo
files are uploaded when the application terminates and all ROS topics will be recorded.
If you set this value, you must specify an outputLocation
.
tools: Option<Vec<Tool>>
Information about tools configured for the simulation application.
use_default_tools: Option<bool>
A Boolean indicating whether to use default simulation application tools. The default tools are rviz, rqt, terminal and rosbag record. The default is False
.
Implementations
sourceimpl SimulationApplicationConfig
impl SimulationApplicationConfig
sourcepub fn application(&self) -> Option<&str>
pub fn application(&self) -> Option<&str>
The application information for the simulation application.
sourcepub fn application_version(&self) -> Option<&str>
pub fn application_version(&self) -> Option<&str>
The version of the simulation application.
sourcepub fn launch_config(&self) -> Option<&LaunchConfig>
pub fn launch_config(&self) -> Option<&LaunchConfig>
The launch configuration for the simulation application.
sourcepub fn upload_configurations(&self) -> Option<&[UploadConfiguration]>
pub fn upload_configurations(&self) -> Option<&[UploadConfiguration]>
Information about upload configurations for the simulation application.
sourcepub fn world_configs(&self) -> Option<&[WorldConfig]>
pub fn world_configs(&self) -> Option<&[WorldConfig]>
A list of world configurations.
sourcepub fn use_default_upload_configurations(&self) -> Option<bool>
pub fn use_default_upload_configurations(&self) -> Option<bool>
A Boolean indicating whether to use default upload configurations. By default, .ros
and .gazebo
files are uploaded when the application terminates and all ROS topics will be recorded.
If you set this value, you must specify an outputLocation
.
sourcepub fn tools(&self) -> Option<&[Tool]>
pub fn tools(&self) -> Option<&[Tool]>
Information about tools configured for the simulation application.
sourcepub fn use_default_tools(&self) -> Option<bool>
pub fn use_default_tools(&self) -> Option<bool>
A Boolean indicating whether to use default simulation application tools. The default tools are rviz, rqt, terminal and rosbag record. The default is False
.
sourceimpl SimulationApplicationConfig
impl SimulationApplicationConfig
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture SimulationApplicationConfig
Trait Implementations
sourceimpl Clone for SimulationApplicationConfig
impl Clone for SimulationApplicationConfig
sourcefn clone(&self) -> SimulationApplicationConfig
fn clone(&self) -> SimulationApplicationConfig
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for SimulationApplicationConfig
impl Debug for SimulationApplicationConfig
sourceimpl PartialEq<SimulationApplicationConfig> for SimulationApplicationConfig
impl PartialEq<SimulationApplicationConfig> for SimulationApplicationConfig
sourcefn eq(&self, other: &SimulationApplicationConfig) -> bool
fn eq(&self, other: &SimulationApplicationConfig) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &SimulationApplicationConfig) -> bool
fn ne(&self, other: &SimulationApplicationConfig) -> bool
This method tests for !=
.
impl StructuralPartialEq for SimulationApplicationConfig
Auto Trait Implementations
impl RefUnwindSafe for SimulationApplicationConfig
impl Send for SimulationApplicationConfig
impl Sync for SimulationApplicationConfig
impl Unpin for SimulationApplicationConfig
impl UnwindSafe for SimulationApplicationConfig
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