pub struct ObjectData {
pub data: Vec<u8>,
pub info: ObjectInfo,
}Expand description
Data returned from a get() call.
Fields§
§data: Vec<u8>The raw object bytes.
info: ObjectInfoObject info (size, checksum, content type).
Trait Implementations§
Source§impl Clone for ObjectData
impl Clone for ObjectData
Source§fn clone(&self) -> ObjectData
fn clone(&self) -> ObjectData
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ObjectData
impl Debug for ObjectData
Source§impl PartialEq for ObjectData
impl PartialEq for ObjectData
impl StructuralPartialEq for ObjectData
Auto Trait Implementations§
impl Freeze for ObjectData
impl RefUnwindSafe for ObjectData
impl Send for ObjectData
impl Sync for ObjectData
impl Unpin for ObjectData
impl UnwindSafe for ObjectData
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