pub enum BudgetDisposition {
Fresh,
TransferRemaining,
}Expand description
What a successor does about the ledger its predecessor was spending against.
Only Self::Fresh is honoured in this release.
Self::TransferRemaining is spelled here rather than left out so
a caller who wants it is refused with a reason instead of silently
given something else: reservations, root accounting and refunds are
held per ceremony, and moving a balance without the reservation
ledger following it would leave two ceremonies believing they hold
it.
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for BudgetDisposition
impl Clone for BudgetDisposition
impl Copy for BudgetDisposition
Source§impl Debug for BudgetDisposition
impl Debug for BudgetDisposition
Source§impl<'de> Deserialize<'de> for BudgetDisposition
impl<'de> Deserialize<'de> for BudgetDisposition
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
impl Eq for BudgetDisposition
Source§impl PartialEq for BudgetDisposition
impl PartialEq for BudgetDisposition
Source§impl Serialize for BudgetDisposition
impl Serialize for BudgetDisposition
impl StructuralPartialEq for BudgetDisposition
Auto Trait Implementations§
impl Freeze for BudgetDisposition
impl RefUnwindSafe for BudgetDisposition
impl Send for BudgetDisposition
impl Sync for BudgetDisposition
impl Unpin for BudgetDisposition
impl UnsafeUnpin for BudgetDisposition
impl UnwindSafe for BudgetDisposition
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