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: Stringid: Stringself_link: Stringname: Stringbucket: Stringgeneration: Stringmetageneration: Stringcontent_type: Stringtime_created: Stringupdated: Stringtime_deleted: Stringtemporary_hold: boolevent_based_hold: boolretention_expiration_time: Stringstorage_class: Stringtime_storage_class_updated: Stringsize: Stringmd5_hash: Stringmedia_link: Stringcontent_encoding: Stringcontent_disposition: Stringcontent_language: Stringcache_control: Stringmetadata: HashMap<String, String>acl: Vec<ObjectAclResource>owner: ObjectOwnercrc32c: Stringcomponent_count: Stringetag: Stringcustomer_encryption: ObjectCustomerEncryptionkms_key_name: String

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

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 !=.

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Compare self to key and return true if they are equal.

Performs the conversion.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.