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 (Cloud 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 Actorwhere
RawVecInner: Send,
impl Sync for Actorwhere
RawVecInner: Sync,
impl Unpin for Actor
impl UnsafeUnpin for Actor
impl UnwindSafe for Actorwhere
RawVecInner: UnwindSafe,
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