pub enum Actor {
Agent {
id: String,
label: Option<String>,
},
Person {
label: String,
},
}Expand description
Who acts on a task.
Variants§
Agent
A bus agent (its id) and how it is shown.
Person
A person on this machine (Hive Desktop, the CLI).
Implementations§
Trait Implementations§
impl Eq for Actor
impl StructuralPartialEq for Actor
Auto Trait Implementations§
impl Forget for Actor
impl Freeze for Actor
impl Move for Actor
impl RefUnwindSafe for Actor
impl Send for Actor
impl Sync for Actor
impl Unpin for Actor
impl UnsafeUnpin for Actor
impl UnwindSafe for Actor
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