#[non_exhaustive]pub struct ObjectHighlights {
pub generation: i64,
pub metageneration: i64,
pub size: i64,
pub content_encoding: String,
pub checksums: Option<ObjectChecksums>,
pub storage_class: String,
pub content_language: String,
pub content_type: String,
pub content_disposition: String,
pub etag: String,
}Expand description
ObjectHighlights contains select metadata from a crate::model::Object.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.generation: i64The content generation of this object. Used for object versioning.
metageneration: i64The version of the metadata for this generation of this object. Used for preconditions and for detecting changes in metadata. A metageneration number is only meaningful in the context of a particular generation of a particular object.
size: i64Content-Length of the object data in bytes, matching RFC 7230 §3.3.2.
content_encoding: StringContent-Encoding of the object data, matching RFC 7231 §3.1.2.2.
checksums: Option<ObjectChecksums>Hashes for the data part of this object. The checksums of the complete object regardless of data range. If the object is read in full, the client should compute one of these checksums over the read object and compare it against the value provided here.
storage_class: StringStorage class of the object.
content_language: StringContent-Language of the object data, matching RFC 7231 §3.1.3.2.
content_type: StringContent-Type of the object data, matching RFC 7231 §3.1.1.5. If an
object is stored without a Content-Type, it is served as
application/octet-stream.
content_disposition: StringContent-Disposition of the object data, matching RFC 6266.
etag: StringThe etag of the object.
Trait Implementations§
Source§impl Clone for ObjectHighlights
impl Clone for ObjectHighlights
Source§fn clone(&self) -> ObjectHighlights
fn clone(&self) -> ObjectHighlights
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for ObjectHighlights
impl Debug for ObjectHighlights
Source§impl Default for ObjectHighlights
impl Default for ObjectHighlights
Source§fn default() -> ObjectHighlights
fn default() -> ObjectHighlights
Source§impl PartialEq for ObjectHighlights
impl PartialEq for ObjectHighlights
impl StructuralPartialEq for ObjectHighlights
Auto Trait Implementations§
impl !Freeze for ObjectHighlights
impl RefUnwindSafe for ObjectHighlights
impl Send for ObjectHighlights
impl Sync for ObjectHighlights
impl Unpin for ObjectHighlights
impl UnwindSafe for ObjectHighlights
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T in a tonic::Request