pub struct Bundle {Show 13 fields
pub format: String,
pub ledger_index: u32,
pub ledger_hash: String,
pub policy: PolicySpec,
pub publisher_responses: Vec<PublisherResponse>,
pub manifests: Vec<String>,
pub negative_unl: Option<NegativeUnlEvidence>,
pub validations: Vec<ValidationEvidence>,
pub provenance: Provenance,
pub transactions: Vec<TxProof>,
pub chain: Vec<String>,
pub objects: Vec<StateProof>,
pub skips: Vec<SkipHop>,
}Fields§
§format: String§ledger_index: u32§ledger_hash: StringThe hash that, according to whoever built the bundle, reached quorum.
policy: PolicySpecThe policy the bundle was built with.
publisher_responses: Vec<PublisherResponse>§manifests: Vec<String>Validator manifests in hex, beyond those inside the lists.
negative_unl: Option<NegativeUnlEvidence>§validations: Vec<ValidationEvidence>§provenance: Provenance§transactions: Vec<TxProof>Inclusion proofs for transactions in this ledger (version 2).
chain: Vec<String>Headers (hex) from the target ledger up to and including the one confirmed
by quorum (ledger_index), in order: each one references the hash of the
previous one (version 3). Empty means the target is the confirmed ledger.
objects: Vec<StateProof>State object proofs (version 3).
skips: Vec<SkipHop>Hops to older ledgers through skip lists, in order (version 4). Each starts from a ledger the bundle already proves, and the last one ends at the target.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Bundle
impl<'de> Deserialize<'de> for Bundle
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 Bundle
impl StructuralPartialEq for Bundle
Auto Trait Implementations§
impl Freeze for Bundle
impl RefUnwindSafe for Bundle
impl Send for Bundle
impl Sync for Bundle
impl Unpin for Bundle
impl UnsafeUnpin for Bundle
impl UnwindSafe for Bundle
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