pub struct OrderAllocation { /* private fields */ }Expand description
Successful allocation of one unreserved transaction-order major.
Implementations§
Source§impl OrderAllocation
impl OrderAllocation
Sourcepub const fn major(self) -> TransactionOrder
pub const fn major(self) -> TransactionOrder
Returns the newly allocated major.
Sourcepub const fn resulting(self) -> OrderLedger
pub const fn resulting(self) -> OrderLedger
Returns the complete validated post-allocation ledger.
Trait Implementations§
Source§impl Clone for OrderAllocation
impl Clone for OrderAllocation
Source§fn clone(&self) -> OrderAllocation
fn clone(&self) -> OrderAllocation
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 moreimpl Copy for OrderAllocation
Source§impl Debug for OrderAllocation
impl Debug for OrderAllocation
impl Eq for OrderAllocation
Source§impl PartialEq for OrderAllocation
impl PartialEq for OrderAllocation
impl StructuralPartialEq for OrderAllocation
Auto Trait Implementations§
impl Freeze for OrderAllocation
impl RefUnwindSafe for OrderAllocation
impl Send for OrderAllocation
impl Sync for OrderAllocation
impl Unpin for OrderAllocation
impl UnsafeUnpin for OrderAllocation
impl UnwindSafe for OrderAllocation
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