Struct bitcoincore_rpc_json::FinalizePsbtResult
source · pub struct FinalizePsbtResult {
pub psbt: Option<String>,
pub hex: Option<Vec<u8>>,
pub complete: bool,
}
Expand description
Models the result of “finalizepsbt”
Fields§
§psbt: Option<String>
§hex: Option<Vec<u8>>
§complete: bool
Implementations§
source§impl FinalizePsbtResult
impl FinalizePsbtResult
pub fn transaction(&self) -> Option<Result<Transaction, Error>>
Trait Implementations§
source§impl Clone for FinalizePsbtResult
impl Clone for FinalizePsbtResult
source§fn clone(&self) -> FinalizePsbtResult
fn clone(&self) -> FinalizePsbtResult
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for FinalizePsbtResult
impl Debug for FinalizePsbtResult
source§impl<'de> Deserialize<'de> for FinalizePsbtResult
impl<'de> Deserialize<'de> for FinalizePsbtResult
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 PartialEq for FinalizePsbtResult
impl PartialEq for FinalizePsbtResult
source§fn eq(&self, other: &FinalizePsbtResult) -> bool
fn eq(&self, other: &FinalizePsbtResult) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for FinalizePsbtResult
impl Serialize for FinalizePsbtResult
impl Eq for FinalizePsbtResult
impl StructuralPartialEq for FinalizePsbtResult
Auto Trait Implementations§
impl Freeze for FinalizePsbtResult
impl RefUnwindSafe for FinalizePsbtResult
impl Send for FinalizePsbtResult
impl Sync for FinalizePsbtResult
impl Unpin for FinalizePsbtResult
impl UnwindSafe for FinalizePsbtResult
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