pub struct ActionHandlerDecl {
pub action: String,
pub goal_name: String,
pub goal_type: Type,
pub body: Block,
pub span: Span,
}Expand description
ROS 2 Action Server: on_action("rover/navigate") fn action_handler(goal: String) { ... }
Fields§
§action: String§goal_name: String§goal_type: Type§body: Block§span: SpanTrait Implementations§
Source§impl Clone for ActionHandlerDecl
impl Clone for ActionHandlerDecl
Source§impl Debug for ActionHandlerDecl
impl Debug for ActionHandlerDecl
Source§impl<'de> Deserialize<'de> for ActionHandlerDecl
impl<'de> Deserialize<'de> for ActionHandlerDecl
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for ActionHandlerDecl
impl PartialEq for ActionHandlerDecl
Source§impl Serialize for ActionHandlerDecl
impl Serialize for ActionHandlerDecl
impl StructuralPartialEq for ActionHandlerDecl
Auto Trait Implementations§
impl Freeze for ActionHandlerDecl
impl RefUnwindSafe for ActionHandlerDecl
impl Send for ActionHandlerDecl
impl Sync for ActionHandlerDecl
impl Unpin for ActionHandlerDecl
impl UnsafeUnpin for ActionHandlerDecl
impl UnwindSafe for ActionHandlerDecl
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