Struct bitcoin_qt::WalletModelTransaction
source · pub struct WalletModelTransaction { /* private fields */ }
Expand description
| Data model for a walletmodel transaction. |
Implementations§
source§impl WalletModelTransaction
impl WalletModelTransaction
pub fn new(recipients: &QList<SendCoinsRecipient>) -> Self
pub fn get_recipients(&self) -> QList<SendCoinsRecipient>
pub fn get_wtx(&mut self) -> &mut TransactionRef
pub fn set_wtx(&mut self, new_tx: &TransactionRef)
pub fn get_transaction_size(&mut self) -> u32
pub fn get_transaction_fee(&self) -> Amount
pub fn set_transaction_fee(&mut self, new_fee: &Amount)
sourcepub fn reassign_amounts(&mut self, n_change_pos_ret: i32)
pub fn reassign_amounts(&mut self, n_change_pos_ret: i32)
| needed for the subtract-fee-from-amount | feature |
pub fn get_total_transaction_amount(&self) -> Amount
Auto Trait Implementations§
impl !RefUnwindSafe for WalletModelTransaction
impl Send for WalletModelTransaction
impl Sync for WalletModelTransaction
impl Unpin for WalletModelTransaction
impl !UnwindSafe for WalletModelTransaction
Blanket Implementations§
§impl<T, U> CastInto<U> for Twhere
U: CastFrom<T>,
impl<T, U> CastInto<U> for Twhere U: CastFrom<T>,
§impl<T> Pointable for T
impl<T> Pointable for T
§impl<T> StaticUpcast<T> for T
impl<T> StaticUpcast<T> for T
§unsafe fn static_upcast(ptr: Ptr<T>) -> Ptr<T>
unsafe fn static_upcast(ptr: Ptr<T>) -> Ptr<T>
Convert type of a const pointer. Read more