pub struct Adapted {
pub payload_schema: u32,
pub descriptor_sha256: Sha256,
pub metadata: BTreeMap<String, Vec<u8>>,
}Expand description
What the adapter overlays onto a pre-schema archive.
Fields§
§payload_schema: u32The schema the release itself declared, which is none.
descriptor_sha256: Sha256The descriptor that supplied the facts.
metadata: BTreeMap<String, Vec<u8>>The virtual metadata the bundle serves beside its payload.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Adapted
impl RefUnwindSafe for Adapted
impl Send for Adapted
impl Sync for Adapted
impl Unpin for Adapted
impl UnsafeUnpin for Adapted
impl UnwindSafe for Adapted
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