pub struct BundleLayer<'a> {
pub media_type: &'a str,
pub bytes: &'a [u8],
}Expand description
One layer payload handed to assemble_bundle.
Fields§
§media_type: &'a strMedia type of the layer as the registry stores it.
bytes: &'a [u8]Stored bytes of the layer.
Trait Implementations§
Source§impl<'a> Clone for BundleLayer<'a>
impl<'a> Clone for BundleLayer<'a>
Auto Trait Implementations§
impl<'a> Freeze for BundleLayer<'a>
impl<'a> RefUnwindSafe for BundleLayer<'a>
impl<'a> Send for BundleLayer<'a>
impl<'a> Sync for BundleLayer<'a>
impl<'a> Unpin for BundleLayer<'a>
impl<'a> UnsafeUnpin for BundleLayer<'a>
impl<'a> UnwindSafe for BundleLayer<'a>
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