pub struct PendingInput {
pub outpoint: String,
pub graph_id: String,
pub metadata: bool,
pub spent_by: Option<String>,
pub parent_proven: bool,
}Expand description
One input a deferred walk has still to ask for.
Fields§
§outpoint: Stringtxid.outputIndex of the input (for the root, the UTXO itself).
graph_id: StringThe graph id the request carries (the root’s outpoint).
metadata: boolWhether the input’s metadata is asked for.
spent_by: Option<String>txid.outputIndex of the node that needs it; None for the root.
parent_proven: boolWhether that node is PROVEN: a named input the peer does not hold is then pruned (the D8 rule), else it fails the graph.
Trait Implementations§
Source§impl Clone for PendingInput
impl Clone for PendingInput
Source§impl Debug for PendingInput
impl Debug for PendingInput
Source§impl<'de> Deserialize<'de> for PendingInput
impl<'de> Deserialize<'de> for PendingInput
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 PendingInput
impl PartialEq for PendingInput
Source§impl Serialize for PendingInput
impl Serialize for PendingInput
impl StructuralPartialEq for PendingInput
Auto Trait Implementations§
impl Freeze for PendingInput
impl RefUnwindSafe for PendingInput
impl Send for PendingInput
impl Sync for PendingInput
impl Unpin for PendingInput
impl UnsafeUnpin for PendingInput
impl UnwindSafe for PendingInput
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