pub struct WalletInfo {
pub balance_sat: u64,
pub pending_send_sat: u64,
pub pending_receive_sat: u64,
pub fingerprint: String,
pub pubkey: String,
}
Fields§
§balance_sat: u64
Usable balance. This is the confirmed onchain balance minus pending_send_sat
.
pending_send_sat: u64
Amount that is being used for ongoing Send swaps
pending_receive_sat: u64
Incoming amount that is pending from ongoing Receive swaps
fingerprint: String
The wallet’s fingerprint. It is used to build the working directory in Config::get_wallet_dir.
pubkey: String
The wallet’s pubkey. Used to verify signed messages.
Trait Implementations§
Source§impl Debug for WalletInfo
impl Debug for WalletInfo
Source§impl<'de> Deserialize<'de> for WalletInfo
impl<'de> Deserialize<'de> for WalletInfo
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl IntoDart for WalletInfo
impl IntoDart for WalletInfo
Source§impl IntoIntoDart<WalletInfo> for WalletInfo
impl IntoIntoDart<WalletInfo> for WalletInfo
fn into_into_dart(self) -> WalletInfo
Source§impl Serialize for WalletInfo
impl Serialize for WalletInfo
impl IntoDartExceptPrimitive for WalletInfo
Auto Trait Implementations§
impl Freeze for WalletInfo
impl RefUnwindSafe for WalletInfo
impl Send for WalletInfo
impl Sync for WalletInfo
impl Unpin for WalletInfo
impl UnwindSafe for WalletInfo
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T
in a tonic::Request
Source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T
in a tonic::Request