pub struct LocalUtxo {
pub outpoint: OutPoint,
pub amount: Amount,
pub confirmation_height: Option<BlockHeight>,
}Expand description
A standard wallet Utxo owned by the local wallet implementation.
Fields§
§outpoint: OutPointThe outpoint referencing the UTXO.
amount: AmountThe amount contained in the UTXO.
confirmation_height: Option<BlockHeight>Optional confirmation height; None if unconfirmed.
Trait Implementations§
Source§impl From<LocalOutput> for LocalUtxo
impl From<LocalOutput> for LocalUtxo
Source§fn from(value: LocalOutput) -> Self
fn from(value: LocalOutput) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for LocalUtxo
impl RefUnwindSafe for LocalUtxo
impl Send for LocalUtxo
impl Sync for LocalUtxo
impl Unpin for LocalUtxo
impl UnwindSafe for LocalUtxo
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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> 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