pub struct TaskAssignment {
pub task_id: Option<String>,
pub bundle_position: Option<usize>,
}Expand description
What this drone is currently assigned - the read-only pair the settings page
surfaces (swarm.tasks.assigned_task_id, swarm.tasks.bundle_position).
Never the bid internals: the operator wants the assignment, not the auction.
Fields§
§task_id: Option<String>The task this agent won, if any.
bundle_position: Option<usize>Position of that task in this agent’s bundle.
Trait Implementations§
Source§impl Clone for TaskAssignment
impl Clone for TaskAssignment
Source§impl Debug for TaskAssignment
impl Debug for TaskAssignment
Source§impl Default for TaskAssignment
impl Default for TaskAssignment
impl Eq for TaskAssignment
Source§impl PartialEq for TaskAssignment
impl PartialEq for TaskAssignment
impl StructuralPartialEq for TaskAssignment
Auto Trait Implementations§
impl Freeze for TaskAssignment
impl RefUnwindSafe for TaskAssignment
impl Send for TaskAssignment
impl Sync for TaskAssignment
impl Unpin for TaskAssignment
impl UnsafeUnpin for TaskAssignment
impl UnwindSafe for TaskAssignment
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