pub struct Charge { /* private fields */ }Expand description
A spend taken by WebLedger::charge; WebLedger::refund gives it
back. It cannot be built, cloned or deserialised outside this crate, so a
refund only ever returns an amount a charge actually took.
Implementations§
Trait Implementations§
impl Eq for Charge
impl StructuralPartialEq for Charge
Auto Trait Implementations§
impl Forget for Charge
impl Freeze for Charge
impl RefUnwindSafe for Charge
impl Send for Charge
impl Sync for Charge
impl Unpin for Charge
impl UnsafeUnpin for Charge
impl UnwindSafe for Charge
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