pub struct MarkReport {
pub index: usize,
pub txid: String,
pub vout: u32,
pub status: MarkStatus,
pub confirmed: bool,
pub block_height: Option<u64>,
pub value: Option<u64>,
pub amount: Option<u64>,
pub commits: Option<bool>,
pub links_to_prev: Option<bool>,
pub expected_output: Option<String>,
}Expand description
What a verifier found for one mark, with the evidence behind its status.
Fields§
§index: usizeThe mark’s position in the trail (0 is the genesis mark).
txid: StringThe mark’s transaction id; empty when a backward walk could not reach this mark.
vout: u32The mark’s output index.
status: MarkStatusThe outcome.
confirmed: boolWhether the transaction is in a block.
block_height: Option<u64>The confirming block’s height, when known.
value: Option<u64>The output’s value on-chain, when the output was read.
amount: Option<u64>The amount the trail records for the mark, if any.
commits: Option<bool>Whether the output is the recomputed key: None when the commitment
was not checked.
links_to_prev: Option<bool>Whether the transaction spends the previous mark: None for the
genesis mark and for a mark not found.
expected_output: Option<String>The recomputed x-only output key (64 hex), when the trail was walked.
Trait Implementations§
Source§impl Clone for MarkReport
impl Clone for MarkReport
Source§impl Debug for MarkReport
impl Debug for MarkReport
Source§impl<'de> Deserialize<'de> for MarkReport
impl<'de> Deserialize<'de> for MarkReport
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
impl Eq for MarkReport
Source§impl PartialEq for MarkReport
impl PartialEq for MarkReport
Source§impl Serialize for MarkReport
impl Serialize for MarkReport
impl StructuralPartialEq for MarkReport
Auto Trait Implementations§
impl Freeze for MarkReport
impl RefUnwindSafe for MarkReport
impl Send for MarkReport
impl Sync for MarkReport
impl Unpin for MarkReport
impl UnsafeUnpin for MarkReport
impl UnwindSafe for MarkReport
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