pub struct Decision {
pub task: Option<String>,
pub kind: DecisionKind,
pub participant: String,
pub participants: Vec<String>,
pub message: String,
}Expand description
Context supplied to a view when an operation needs consent.
Fields§
§task: Option<String>Task selected for this operation.
kind: DecisionKindClassification used to interpret this record.
participant: StringParticipant to which this observation or change applies.
participants: Vec<String>Members associated with this task or operation.
message: StringHuman-readable explanation for the caller.
Trait Implementations§
Auto Trait Implementations§
impl Forget for Decision
impl Freeze for Decision
impl Move for Decision
impl RefUnwindSafe for Decision
impl Send for Decision
impl Sync for Decision
impl Unpin for Decision
impl UnsafeUnpin for Decision
impl UnwindSafe for Decision
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