pub struct SkipHop {
pub list: StateProof,
pub headers: Vec<String>,
}Expand description
A hop back through a skip list: the list proven in the state of a ledger the bundle already proves, and headers from an older ledger up to one whose hash is in the list.
Fields§
§list: StateProofThe LedgerHashes object, present, in xrpl-witness/state-proof/1 format.
headers: Vec<String>Headers (hex) in order, each referencing the hash of the previous one; the hash of the last one is in the list.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for SkipHop
impl<'de> Deserialize<'de> for SkipHop
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 SkipHop
impl StructuralPartialEq for SkipHop
Auto Trait Implementations§
impl Freeze for SkipHop
impl RefUnwindSafe for SkipHop
impl Send for SkipHop
impl Sync for SkipHop
impl Unpin for SkipHop
impl UnsafeUnpin for SkipHop
impl UnwindSafe for SkipHop
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