pub struct GASPNode {
pub graph_id: String,
pub raw_tx: String,
pub output_index: u32,
pub proof: Option<String>,
pub tx_metadata: Option<String>,
pub output_metadata: Option<String>,
pub inputs: Option<HashMap<String, GASPInputRef>>,
}Expand description
A node in a GASP transaction graph.
Fields§
§graph_id: StringGraph ID this node belongs to (“txid.outputIndex” format).
raw_tx: StringRaw transaction hex.
output_index: u32Output index in the transaction.
proof: Option<String>BUMP merkle proof hex (if transaction is mined).
tx_metadata: Option<String>Transaction metadata hex (if requested).
output_metadata: Option<String>Output metadata hex (if requested).
inputs: Option<HashMap<String, GASPInputRef>>Input transaction references with metadata hashes.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for GASPNode
impl<'de> Deserialize<'de> for GASPNode
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 GASPNode
impl RefUnwindSafe for GASPNode
impl Send for GASPNode
impl Sync for GASPNode
impl Unpin for GASPNode
impl UnsafeUnpin for GASPNode
impl UnwindSafe for GASPNode
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