Struct bee_ledger::types::Migration [−][src]
pub struct Migration { /* fields omitted */ }Expand description
A type to tie together the receipt, consumed treasury and created treasury of a migration.
Implementations
impl Migration[src]
impl Migration[src]pub fn new(
receipt: Receipt,
consumed_treasury: TreasuryOutput,
created_treasury: TreasuryOutput
) -> Self[src]
pub fn new(
receipt: Receipt,
consumed_treasury: TreasuryOutput,
created_treasury: TreasuryOutput
) -> Self[src]Creates a new Migration.
pub fn consumed_treasury(&self) -> &TreasuryOutput[src]
pub fn consumed_treasury(&self) -> &TreasuryOutput[src]Returns the consumed treasury output of the Migration.
pub fn created_treasury(&self) -> &TreasuryOutput[src]
pub fn created_treasury(&self) -> &TreasuryOutput[src]Returns the created treasury output of the Migration.
Auto Trait Implementations
impl RefUnwindSafe for Migration
impl Send for Migration
impl Sync for Migration
impl Unpin for Migration
impl UnwindSafe for Migration
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]pub fn borrow_mut(&mut self) -> &mut T[src]
pub fn borrow_mut(&mut self) -> &mut T[src]Mutably borrows from an owned value. Read more
impl<T> Same<T> for T
impl<T> Same<T> for Ttype Output = T
type Output = TShould always be Self