pub struct ChunkBody {
pub entries: BTreeMap<String, LeanEntry>,
}Expand description
A chunk object’s body.
A struct rather than a bare map so the object is self-describing and so a future field does not change what the address hashes over.
Fields§
§entries: BTreeMap<String, LeanEntry>Trait Implementations§
Source§impl<'de> Deserialize<'de> for ChunkBody
impl<'de> Deserialize<'de> for ChunkBody
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
Auto Trait Implementations§
impl Freeze for ChunkBody
impl RefUnwindSafe for ChunkBody
impl Send for ChunkBody
impl Sync for ChunkBody
impl Unpin for ChunkBody
impl UnsafeUnpin for ChunkBody
impl UnwindSafe for ChunkBody
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