pub struct ApprovalOutcome {
pub entry: LedgerEntry,
pub already_approved: bool,
}Expand description
Outcome of LedgerStore::approve_entry. Carries the updated entry
and whether it was already approved (caller idempotency hint).
Fields§
§entry: LedgerEntry§already_approved: boolTrait Implementations§
Source§impl Clone for ApprovalOutcome
impl Clone for ApprovalOutcome
Auto Trait Implementations§
impl Freeze for ApprovalOutcome
impl RefUnwindSafe for ApprovalOutcome
impl Send for ApprovalOutcome
impl Sync for ApprovalOutcome
impl Unpin for ApprovalOutcome
impl UnsafeUnpin for ApprovalOutcome
impl UnwindSafe for ApprovalOutcome
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