pub struct WalletTx { /* private fields */ }
Implementations§
source§impl WalletTx
impl WalletTx
pub fn tx(&self) -> Arc<Transaction>
pub fn height(&self) -> Option<u32>
pub fn balance(&self) -> HashMap<AssetId, i64>
pub fn txid(&self) -> Arc<Txid>
pub fn fee(&self) -> u64
pub fn type_(&self) -> String
pub fn timestamp(&self) -> Option<u32>
pub fn inputs(&self) -> Vec<Option<Arc<WalletTxOut>>>
pub fn outputs(&self) -> Vec<Option<Arc<WalletTxOut>>>
pub fn unblinded_url(&self, explorer_url: &str) -> String
Trait Implementations§
source§impl<T> LowerReturn<T> for WalletTx
impl<T> LowerReturn<T> for WalletTx
§type ReturnType = <WalletTx as FfiConverterArc<UniFfiTag>>::FfiType
type ReturnType = <WalletTx as FfiConverterArc<UniFfiTag>>::FfiType
The type that should be returned by scaffolding functions for this type. Read more
source§fn lower_return(obj: Self) -> Result<Self::ReturnType, RustBuffer>
fn lower_return(obj: Self) -> Result<Self::ReturnType, RustBuffer>
Lower this value for scaffolding function return Read more
const TYPE_ID_META: MetadataBuffer = _
Auto Trait Implementations§
impl Freeze for WalletTx
impl RefUnwindSafe for WalletTx
impl Send for WalletTx
impl Sync for WalletTx
impl Unpin for WalletTx
impl UnwindSafe for WalletTx
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more