pub struct GoalAck {
pub accepted: bool,
pub reason: Option<String>,
}Expand description
Immediate acknowledgement returned to the client after a goal is sent.
One of the key differences between Action and Service: before a goal is
actually accepted for execution, the server first returns a GoalAck
indicating whether it is willing to handle the goal.
A rejected goal never enters execution and produces no feedback or result.
Fields§
§accepted: boolWhether the server accepted this goal.
reason: Option<String>Optional rejection reason or additional message.
Trait Implementations§
impl Eq for GoalAck
impl StructuralPartialEq for GoalAck
Auto Trait Implementations§
impl Freeze for GoalAck
impl RefUnwindSafe for GoalAck
impl Send for GoalAck
impl Sync for GoalAck
impl Unpin for GoalAck
impl UnsafeUnpin for GoalAck
impl UnwindSafe for GoalAck
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