Struct gcs_rsync::storage::PartialObject
source · pub struct PartialObject {Show 19 fields
pub bucket: Option<String>,
pub id: Option<String>,
pub self_link: Option<String>,
pub name: Option<String>,
pub content_type: Option<String>,
pub time_created: Option<DateTime<Utc>>,
pub updated: Option<DateTime<Utc>>,
pub time_deleted: Option<DateTime<Utc>>,
pub retention_expiration_time: Option<DateTime<Utc>>,
pub storage_class: Option<String>,
pub size: Option<u64>,
pub media_link: Option<String>,
pub content_encoding: Option<String>,
pub content_disposition: Option<String>,
pub content_language: Option<String>,
pub cache_control: Option<String>,
pub metadata: Option<Metadata>,
pub crc32c: Option<CRC32C>,
pub etag: Option<String>,
}
Fields§
§bucket: Option<String>
§id: Option<String>
§self_link: Option<String>
§name: Option<String>
§content_type: Option<String>
§time_created: Option<DateTime<Utc>>
§updated: Option<DateTime<Utc>>
§time_deleted: Option<DateTime<Utc>>
§retention_expiration_time: Option<DateTime<Utc>>
§storage_class: Option<String>
§size: Option<u64>
§media_link: Option<String>
§content_encoding: Option<String>
§content_disposition: Option<String>
§content_language: Option<String>
§cache_control: Option<String>
§metadata: Option<Metadata>
§crc32c: Option<CRC32C>
§etag: Option<String>
Trait Implementations§
source§impl Debug for PartialObject
impl Debug for PartialObject
source§impl Default for PartialObject
impl Default for PartialObject
source§fn default() -> PartialObject
fn default() -> PartialObject
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for PartialObject
impl<'de> Deserialize<'de> for PartialObject
source§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
source§impl PartialEq<PartialObject> for PartialObject
impl PartialEq<PartialObject> for PartialObject
source§fn eq(&self, other: &PartialObject) -> bool
fn eq(&self, other: &PartialObject) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for PartialObject
impl Serialize for PartialObject
source§impl TryInto<Object> for PartialObject
impl TryInto<Object> for PartialObject
impl Eq for PartialObject
impl StructuralEq for PartialObject
impl StructuralPartialEq for PartialObject
Auto Trait Implementations§
impl RefUnwindSafe for PartialObject
impl Send for PartialObject
impl Sync for PartialObject
impl Unpin for PartialObject
impl UnwindSafe for PartialObject
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
Mutably borrows from an owned value. Read more
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.