Struct vls_protocol::model::Utxo
source · pub struct Utxo {
pub txid: TxId,
pub outnum: u32,
pub amount: u64,
pub keyindex: u32,
pub is_p2sh: bool,
pub script: Octets,
pub close_info: Option<CloseInfo>,
pub is_in_coinbase: bool,
}
Fields§
§txid: TxId
§outnum: u32
§amount: u64
§keyindex: u32
§is_p2sh: bool
§script: Octets
§close_info: Option<CloseInfo>
§is_in_coinbase: bool
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 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