Struct google_drive::ObjectResource [−][src]
pub struct ObjectResource {}Show fields
pub kind: String, pub id: String, pub self_link: String, pub name: String, pub bucket: String, pub generation: String, pub metageneration: String, pub content_type: String, pub time_created: String, pub updated: String, pub time_deleted: String, pub temporary_hold: bool, pub event_based_hold: bool, pub retention_expiration_time: String, pub storage_class: String, pub time_storage_class_updated: String, pub size: String, pub md5_hash: String, pub media_link: String, pub content_encoding: String, pub content_disposition: String, pub content_language: String, pub cache_control: String, pub metadata: HashMap<String, String>, pub acl: Vec<ObjectAclResource>, pub owner: ObjectOwner, pub crc32c: String, pub component_count: String, pub etag: String, pub customer_encryption: ObjectCustomerEncryption, pub kms_key_name: String,
Fields
kind: String
id: String
self_link: String
name: String
bucket: String
generation: String
metageneration: String
content_type: String
time_created: String
updated: String
time_deleted: String
temporary_hold: bool
event_based_hold: bool
retention_expiration_time: String
storage_class: String
time_storage_class_updated: String
size: String
md5_hash: String
media_link: String
content_encoding: String
content_disposition: String
content_language: String
cache_control: String
metadata: HashMap<String, String>
acl: Vec<ObjectAclResource>
owner: ObjectOwner
crc32c: String
component_count: String
etag: String
customer_encryption: ObjectCustomerEncryption
kms_key_name: String
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for ObjectResource
impl Send for ObjectResource
impl Sync for ObjectResource
impl Unpin for ObjectResource
impl UnwindSafe for ObjectResource
Blanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key
and return true
if they are equal.
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more