Struct chain_impl_mockchain::treasury::Treasury
source · pub struct Treasury(Value);
Expand description
An amount of value owned by the treasury.
Right now, it doesn’t have any mechanism to withdraw money from, so it serves just to record a monotically increasing special account.
Tuple Fields§
§0: Value
Implementations§
Trait Implementations§
source§impl PartialEq<Treasury> for Treasury
impl PartialEq<Treasury> for Treasury
impl Copy for Treasury
impl Eq for Treasury
impl StructuralEq for Treasury
impl StructuralPartialEq for Treasury
Auto Trait Implementations§
impl RefUnwindSafe for Treasury
impl Send for Treasury
impl Sync for Treasury
impl Unpin for Treasury
impl UnwindSafe for Treasury
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