Struct bitcoin_qt::BanTableModel
source · pub struct BanTableModel { /* private fields */ }
Expand description
| Qt model providing information about | connected peers, similar to the “getpeerinfo” | RPC call. Used by the rpc console UI. |
Implementations§
source§impl BanTableModel
impl BanTableModel
pub fn new(node: Rc<RefCell<dyn NodeInterface>>, parent: *mut u32) -> Self
sourcepub fn row_count(&self, parent: &QModelIndex) -> i32
pub fn row_count(&self, parent: &QModelIndex) -> i32
| @name Methods overridden from QAbstractTableModel |
pub fn column_count(&self, parent: &QModelIndex) -> i32
pub fn data(&self, index: &QModelIndex, role: i32) -> u32
pub fn header_data(&self, section: i32, orientation: u32, role: i32) -> u32
pub fn flags(&self, index: &QModelIndex) -> u32
pub fn index(&self, row: i32, column: i32, parent: &QModelIndex) -> QModelIndex
pub fn refresh(&mut self)
pub fn sort(&mut self, column: i32, order: u32)
pub fn should_show(&mut self) -> bool
Auto Trait Implementations§
impl !RefUnwindSafe for BanTableModel
impl !Send for BanTableModel
impl !Sync for BanTableModel
impl Unpin for BanTableModel
impl !UnwindSafe for BanTableModel
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