pub struct ParsedOutput {
pub index: u32,
pub address: Option<String>,
pub value_sats: u64,
pub script_type: ScriptType,
}Expand description
Parsed transaction output
Fields§
§index: u32Output index
address: Option<String>Recipient address (if standard script)
value_sats: u64Value in satoshis
script_type: ScriptTypeScript type
Trait Implementations§
Source§impl Clone for ParsedOutput
impl Clone for ParsedOutput
Source§fn clone(&self) -> ParsedOutput
fn clone(&self) -> ParsedOutput
Returns a duplicate 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 ParsedOutput
impl Debug for ParsedOutput
Source§impl<'de> Deserialize<'de> for ParsedOutput
impl<'de> Deserialize<'de> for ParsedOutput
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 ParsedOutput
impl RefUnwindSafe for ParsedOutput
impl Send for ParsedOutput
impl Sync for ParsedOutput
impl Unpin for ParsedOutput
impl UnwindSafe for ParsedOutput
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