pub struct Exchange {
pub header: Vec<HeaderRecord>,
pub anchors: Vec<AnchorEntry>,
pub references: Vec<ReferenceEntry>,
pub data: Vec<DataSection>,
pub signature: Option<Range<usize>>,
pub records: BTreeMap<u64, RawRecord>,
/* private fields */
}Expand description
Parsed exchange structure and global DATA record graph.
Fields§
§header: Vec<HeaderRecord>HEADER records in source order.
anchors: Vec<AnchorEntry>ANCHOR bindings in source order.
references: Vec<ReferenceEntry>REFERENCE bindings in source order.
data: Vec<DataSection>DATA sections in source order.
signature: Option<Range<usize>>Complete SIGNATURE section byte range when present.
records: BTreeMap<u64, RawRecord>DATA instances indexed across every DATA section.
Trait Implementations§
impl StructuralPartialEq for Exchange
Auto Trait Implementations§
impl !Freeze for Exchange
impl RefUnwindSafe for Exchange
impl Send for Exchange
impl Sync for Exchange
impl Unpin for Exchange
impl UnsafeUnpin for Exchange
impl UnwindSafe for Exchange
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