pub struct Utxo {
pub address: String,
pub amount_sat: String,
pub confirmations: String,
pub outpoint: Outpoint,
pub pk_script: String,
}
Fields§
§address: String
§amount_sat: String
§confirmations: String
§outpoint: Outpoint
§pk_script: String
Implementations§
Source§impl Utxo
impl Utxo
pub fn to_cluster(self, pubkey: String) -> Result<ClusterUtxo>
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Utxo
impl<'de> Deserialize<'de> for Utxo
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
Auto Trait Implementations§
impl Freeze for Utxo
impl RefUnwindSafe for Utxo
impl Send for Utxo
impl Sync for Utxo
impl Unpin for Utxo
impl UnwindSafe for Utxo
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