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: StringTrait 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 ObjectResourceimpl Send for ObjectResourceimpl Sync for ObjectResourceimpl Unpin for ObjectResourceimpl UnwindSafe for ObjectResourceBlanket 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