pub enum Settlement {
Settled {
at: Timestamp,
events: Vec<EventRecord>,
},
AlreadySettled {
at: Timestamp,
outcome: PrintOutcome,
},
}Expand description
What settling a print did.
Variants§
Settled
This call settled it.
Fields
§
events: Vec<EventRecord>Every event the settlement appended, in the order it appended them,
its print_ended event last.
AlreadySettled
It was already settled, and this call wrote nothing.
Trait Implementations§
Source§impl Clone for Settlement
impl Clone for Settlement
Source§impl Debug for Settlement
impl Debug for Settlement
Source§impl PartialEq for Settlement
impl PartialEq for Settlement
impl StructuralPartialEq for Settlement
Auto Trait Implementations§
impl Forget for Settlement
impl Freeze for Settlement
impl Move for Settlement
impl RefUnwindSafe for Settlement
impl Send for Settlement
impl Sync for Settlement
impl Unpin for Settlement
impl UnsafeUnpin for Settlement
impl UnwindSafe for Settlement
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