#[non_exhaustive]pub struct Object {
pub bytes: Vec<u8>,
pub etag: Option<String>,
}Available on crate feature
s3 only.Expand description
An object that Bucket::get, Bucket::get_strict, or
Bucket::get_for_pull read whole.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.bytes: Vec<u8>The bytes of the object.
etag: Option<String>The ETag of the response, as the server wrote it.
Trait Implementations§
impl Eq for Object
impl StructuralPartialEq for Object
Auto Trait Implementations§
impl Forget for Object
impl Freeze for Object
impl Move for Object
impl RefUnwindSafe for Object
impl Send for Objectwhere
RawVecInner: Send,
impl Sync for Objectwhere
RawVecInner: Sync,
impl Unpin for Object
impl UnsafeUnpin for Object
impl UnwindSafe for Objectwhere
RawVecInner: UnwindSafe,
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§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.