[−][src]Struct tame_gcs::objects::ObjectMetadata
Metadata associated with an Object.
Fields
kind: Option<String>
The kind of item this is. For objects, this is always storage#object
.
id: Option<String>
The ID of the object, including the bucket name, object name, and generation number.
self_link: Option<String>
The link to this object.
name: Option<String>
The name of the object. Required if not specified by URL parameter. writable
bucket: Option<String>
The name of the bucket containing this object.
generation: Option<i64>
The content generation of this object. Used for object versioning.
metageneration: Option<i64>
The version of the metadata for this object at this generation. 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.
content_type: Option<String>
Content-Type
of the object data. If an object is stored without
a Content-Type
, it is served as application/octet-stream
. writable
time_created: Option<DateTime<Utc>>
The creation time of the object in RFC 3339 format.
updated: Option<DateTime<Utc>>
The modification time of the object metadata in RFC 3339 format.
storage_class: Option<StorageClass>
Storage class of the object. writable
time_storage_class_updated: Option<DateTime<Utc>>
The time at which the object's storage class was last changed. When the object is initially created, it will be set to timeCreated.
size: Option<u64>
Content-Length
of the data in bytes.
md5_hash: Option<String>
MD5 hash of the data; encoded using base64. For more information about using the MD5 hash, see Hashes and ETags: Best Practices. writable
media_link: Option<String>
Media download link.
content_language: Option<String>
Content-Language
of the object data.
crc32c: Option<String>
CRC32c checksum, as described in RFC 4960, Appendix B; encoded using base64 in big-endian byte order. For more information about using the CRC32c checksum, see Hashes and ETags: Best Practices.
etag: Option<String>
HTTP 1.1 Entity tag for the object.
metadata: Option<BTreeMap<String, String>>
User-provided metadata, in key/value pairs. writable
Trait Implementations
impl Default for ObjectMetadata
[src]
fn default() -> ObjectMetadata
[src]
impl Serialize for ObjectMetadata
[src]
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
impl<'de> Deserialize<'de> for ObjectMetadata
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
Auto Trait Implementations
impl Sync for ObjectMetadata
impl Send for ObjectMetadata
impl Unpin for ObjectMetadata
impl RefUnwindSafe for ObjectMetadata
impl UnwindSafe for ObjectMetadata
Blanket Implementations
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> DeserializeOwned for T where
T: Deserialize<'de>,
[src]
T: Deserialize<'de>,