pub struct ActionOutcome {
pub record: ActionRecord,
pub executed: Option<Result<(), PrinterError>>,
pub intervention: Option<Intervention>,
}Expand description
What became of one request, from the decision through to its intervention.
Fields§
§record: ActionRecordThe record of the request and the decision taken on it.
executed: Option<Result<(), PrinterError>>What the printer made of it, absent when it was rejected.
intervention: Option<Intervention>The bounded intervention it opened, when it opened one.
Implementations§
Source§impl ActionOutcome
impl ActionOutcome
Sourcepub const fn decision(&self) -> &PolicyDecision
pub const fn decision(&self) -> &PolicyDecision
The decision policy took on the request.
Trait Implementations§
Source§impl Clone for ActionOutcome
impl Clone for ActionOutcome
Source§fn clone(&self) -> ActionOutcome
fn clone(&self) -> ActionOutcome
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ActionOutcome
impl Debug for ActionOutcome
Source§impl PartialEq for ActionOutcome
impl PartialEq for ActionOutcome
impl StructuralPartialEq for ActionOutcome
Auto Trait Implementations§
impl Freeze for ActionOutcome
impl RefUnwindSafe for ActionOutcome
impl Send for ActionOutcome
impl Sync for ActionOutcome
impl Unpin for ActionOutcome
impl UnsafeUnpin for ActionOutcome
impl UnwindSafe for ActionOutcome
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