Struct bitcoin_qt::TransactionTablePriv
source · pub struct TransactionTablePriv { /* private fields */ }
Expand description
| Private implementation |
Implementations§
source§impl TransactionTablePriv
impl TransactionTablePriv
pub fn new(parent: *mut TransactionTableModel) -> Self
sourcepub fn refresh_wallet(&mut self, wallet: Rc<RefCell<dyn WalletInterface>>)
pub fn refresh_wallet(&mut self, wallet: Rc<RefCell<dyn WalletInterface>>)
| Query entire wallet anew from core. |
sourcepub fn update_wallet(
&mut self,
wallet: Rc<RefCell<dyn WalletInterface>>,
hash: &u256,
status: i32,
show_transaction: bool
)
pub fn update_wallet( &mut self, wallet: Rc<RefCell<dyn WalletInterface>>, hash: &u256, status: i32, show_transaction: bool )
| Update our model of the wallet incrementally, | to synchronize our model of the wallet | with that of the core. | | Call with transaction that was added, | removed or changed. |
pub fn size(&mut self) -> i32
pub fn index( &mut self, wallet: Rc<RefCell<dyn WalletInterface>>, cur_block_hash: &u256, idx: i32 ) -> *mut TransactionRecord
pub fn describe( &mut self, node: Rc<RefCell<dyn NodeInterface>>, wallet: Rc<RefCell<dyn WalletInterface>>, rec: *mut TransactionRecord, unit: i32 ) -> String
pub fn get_tx_hex( &mut self, wallet: Rc<RefCell<dyn WalletInterface>>, rec: *mut TransactionRecord ) -> String
pub fn notify_transaction_changed(&mut self, hash: &u256, status: ChangeType)
pub fn dispatch_notifications(&mut self)
Auto Trait Implementations§
impl !RefUnwindSafe for TransactionTablePriv
impl !Send for TransactionTablePriv
impl !Sync for TransactionTablePriv
impl Unpin for TransactionTablePriv
impl !UnwindSafe for TransactionTablePriv
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