pub struct Header {
pub kind: Kind,
pub size: u64,
}
Expand description
Information about an object, which includes its kind and the amount of bytes it would have when obtained.
Fields§
§kind: Kind
The kind of object.
size: u64
The object’s size in bytes, or the size of the buffer when it’s retrieved in full.
Trait Implementations§
source§impl Ord for Header
impl Ord for Header
source§impl PartialOrd for Header
impl PartialOrd for Header
impl Copy for Header
impl Eq for Header
impl StructuralPartialEq for Header
Auto Trait Implementations§
impl Freeze for Header
impl RefUnwindSafe for Header
impl Send for Header
impl Sync for Header
impl Unpin for Header
impl UnwindSafe for Header
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)