Struct breez_sdk_liquid::model::GetInfoResponse
source · pub struct GetInfoResponse {
pub balance_sat: u64,
pub pending_send_sat: u64,
pub pending_receive_sat: u64,
pub fingerprint: String,
pub pubkey: String,
}
Expand description
Returned when calling crate::sdk::LiquidSdk::get_info.
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_working_dir.
pubkey: String
The wallet’s pubkey. Used to verify signed messages.
Trait Implementations§
source§impl Debug for GetInfoResponse
impl Debug for GetInfoResponse
source§impl IntoDart for GetInfoResponse
impl IntoDart for GetInfoResponse
source§impl IntoIntoDart<GetInfoResponse> for GetInfoResponse
impl IntoIntoDart<GetInfoResponse> for GetInfoResponse
fn into_into_dart(self) -> GetInfoResponse
source§impl Serialize for GetInfoResponse
impl Serialize for GetInfoResponse
impl IntoDartExceptPrimitive for GetInfoResponse
Auto Trait Implementations§
impl Freeze for GetInfoResponse
impl RefUnwindSafe for GetInfoResponse
impl Send for GetInfoResponse
impl Sync for GetInfoResponse
impl Unpin for GetInfoResponse
impl UnwindSafe for GetInfoResponse
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