pub struct RecoveryAnswer {
pub action: RecoveryAction,
pub decision: RecoveryDecision,
pub detail: String,
pub events: Vec<EventRecord>,
}Expand description
What a recovery action answers, carried out or refused.
A refusal is the same shape and deliberately so: decision is either
executed, carrying what the printer made of it, or rejected, carrying
the reason, and the two events are what the request wrote.
Fields§
§action: RecoveryActionWhat was asked for.
decision: RecoveryDecisionWhat became of it.
detail: StringWhat became of it, in a sentence for a person: why it was refused and what would let it go ahead, or what it did.
events: Vec<EventRecord>The recovery_requested event, and the recovery_executed or
recovery_rejected beside it.
Trait Implementations§
Source§impl Clone for RecoveryAnswer
impl Clone for RecoveryAnswer
Source§impl Debug for RecoveryAnswer
impl Debug for RecoveryAnswer
Source§impl<'de> Deserialize<'de> for RecoveryAnswer
impl<'de> Deserialize<'de> for RecoveryAnswer
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 RecoveryAnswer
impl PartialEq for RecoveryAnswer
Source§impl Serialize for RecoveryAnswer
impl Serialize for RecoveryAnswer
impl StructuralPartialEq for RecoveryAnswer
Auto Trait Implementations§
impl Freeze for RecoveryAnswer
impl RefUnwindSafe for RecoveryAnswer
impl Send for RecoveryAnswer
impl Sync for RecoveryAnswer
impl Unpin for RecoveryAnswer
impl UnsafeUnpin for RecoveryAnswer
impl UnwindSafe for RecoveryAnswer
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