pub struct AnchorFacts {
pub chain: String,
pub genesis_txid: String,
pub frontier_txid: String,
pub frontier_vout: u32,
pub frontier_commit: String,
pub trail_url: String,
}Expand description
The facts a NIP-34 event needs to name a trail’s on-chain frontier.
Fields§
§chain: StringThe chain token.
genesis_txid: StringThe transaction id of the first on-chain mark (the genesis anchor).
frontier_txid: StringThe transaction id of the latest on-chain mark.
frontier_vout: u32The output index of the latest on-chain mark.
frontier_commit: StringThe commit the latest on-chain mark commits to.
trail_url: StringAbsolute URL of the served trail document.
Trait Implementations§
Source§impl Clone for AnchorFacts
impl Clone for AnchorFacts
Source§impl Debug for AnchorFacts
impl Debug for AnchorFacts
impl Eq for AnchorFacts
Source§impl PartialEq for AnchorFacts
impl PartialEq for AnchorFacts
impl StructuralPartialEq for AnchorFacts
Auto Trait Implementations§
impl Freeze for AnchorFacts
impl RefUnwindSafe for AnchorFacts
impl Send for AnchorFacts
impl Sync for AnchorFacts
impl Unpin for AnchorFacts
impl UnsafeUnpin for AnchorFacts
impl UnwindSafe for AnchorFacts
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.