#[repr(i32)]
pub enum RoleIndex {
Show 15 variants
TypeRole,
DateRole,
WatchonlyRole,
WatchonlyDecorationRole,
LongDescriptionRole,
AddressRole,
LabelRole,
AmountRole,
TxHashRole,
TxHexRole,
TxPlainTextRole,
ConfirmedRole,
FormattedAmountRole,
StatusRole,
RawDecorationRole,
}
Expand description
| Roles to get specific information from | a transaction row. | | These are independent of column. |
Variants§
TypeRole
| Type of transaction |
DateRole
| Date and time this transaction was created |
WatchonlyRole
| Watch-only boolean |
WatchonlyDecorationRole
| Watch-only icon |
LongDescriptionRole
| Long description (HTML format) |
AddressRole
| Address of transaction |
LabelRole
| Label of address related to transaction |
AmountRole
| Net amount of transaction |
TxHashRole
| Transaction hash |
TxHexRole
| Transaction data, hex-encoded |
TxPlainTextRole
| Whole transaction as plain text |
ConfirmedRole
| Is transaction confirmed? |
FormattedAmountRole
| Formatted amount, without brackets | when unconfirmed |
StatusRole
| Transaction status (TransactionRecord::Status) |
RawDecorationRole
| Unprocessed icon |
Auto Trait Implementations§
impl RefUnwindSafe for RoleIndex
impl Send for RoleIndex
impl Sync for RoleIndex
impl Unpin for RoleIndex
impl UnwindSafe for RoleIndex
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