pub struct ActionAnswer {
pub intervention: Option<Intervention>,
pub printer_refusal: Option<String>,
pub record: ActionRecord,
}Expand description
What one mutating request left behind it.
Fields§
§intervention: Option<Intervention>The bounded intervention it opened, when it opened one.
printer_refusal: Option<String>What the printer said, when the request reached it and it refused.
record: ActionRecordThe record of the request and the decision taken on it. A rejected request’s rejection is here, carrying its reason, the value asked for and the range allowed, so a caller can ask again inside the range.
Trait Implementations§
Source§impl Clone for ActionAnswer
impl Clone for ActionAnswer
Source§impl Debug for ActionAnswer
impl Debug for ActionAnswer
Source§impl<'de> Deserialize<'de> for ActionAnswer
impl<'de> Deserialize<'de> for ActionAnswer
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for ActionAnswer
impl PartialEq for ActionAnswer
Source§impl Serialize for ActionAnswer
impl Serialize for ActionAnswer
impl StructuralPartialEq for ActionAnswer
Auto Trait Implementations§
impl Freeze for ActionAnswer
impl RefUnwindSafe for ActionAnswer
impl Send for ActionAnswer
impl Sync for ActionAnswer
impl Unpin for ActionAnswer
impl UnsafeUnpin for ActionAnswer
impl UnwindSafe for ActionAnswer
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