pub struct ActionWithHashes {
pub parsed: ParsedActionFile,
pub send_goal_hash: Ros2Hash,
pub get_result_hash: Ros2Hash,
pub feedback_message_hash: Ros2Hash,
}Expand description
Resolved action file with type hashes for ROS 2 action service wrappers
Fields§
§parsed: ParsedActionFile§send_goal_hash: Ros2Hash§get_result_hash: Ros2Hash§feedback_message_hash: Ros2HashImplementations§
Source§impl ActionWithHashes
impl ActionWithHashes
Sourcepub fn from_json_metadata(
parsed: ParsedActionFile,
json_path: &Path,
) -> Option<Self>
pub fn from_json_metadata( parsed: ParsedActionFile, json_path: &Path, ) -> Option<Self>
Creates an ActionWithHashes with type hashes loaded from ROS 2 JSON metadata
pub fn get_package_name(&self) -> String
pub fn get_short_name(&self) -> String
Auto Trait Implementations§
impl Freeze for ActionWithHashes
impl RefUnwindSafe for ActionWithHashes
impl Send for ActionWithHashes
impl Sync for ActionWithHashes
impl Unpin for ActionWithHashes
impl UnwindSafe for ActionWithHashes
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
Mutably borrows from an owned value. Read more