pub struct RepoMark {
pub index: usize,
pub commit: String,
pub program: Option<String>,
pub address: Option<String>,
pub txo: Option<BlocktrailTxo>,
pub txo_uri: Option<String>,
}Expand description
One mark of a repo-held trail.
Fields§
§index: usizePosition in the trail, from 0.
commit: StringThe commit this mark commits to, exactly as the file spells it.
program: Option<String>The mark’s 32-byte witness program as hex, re-derived from the base key
and the commits so far. None without the anchoring feature, or for
a base key that is not a valid point.
address: Option<String>The mark’s taproot address on the trail’s chain, re-derived. None
when program is, or when the chain’s address prefix is unknown.
txo: Option<BlocktrailTxo>The mark’s on-chain output, when the file’s txo entry parses.
txo_uri: Option<String>The file’s txo entry for this mark, verbatim.
Trait Implementations§
impl Eq for RepoMark
impl StructuralPartialEq for RepoMark
Auto Trait Implementations§
impl Freeze for RepoMark
impl RefUnwindSafe for RepoMark
impl Send for RepoMark
impl Sync for RepoMark
impl Unpin for RepoMark
impl UnsafeUnpin for RepoMark
impl UnwindSafe for RepoMark
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.