pub struct GoogleFile {
pub name: String,
pub display_name: Option<String>,
pub mime_type: Option<String>,
pub size_bytes: Option<u64>,
pub create_time: Option<String>,
pub update_time: Option<String>,
pub expiration_time: Option<String>,
pub sha256_hash: Option<String>,
pub uri: Option<String>,
pub state: Option<String>,
}Expand description
A file resource.
Fields§
§name: StringResource name (files/abc-123).
display_name: Option<String>Display name.
mime_type: Option<String>Media type.
size_bytes: Option<u64>Size in bytes.
create_time: Option<String>Creation time (RFC 3339).
update_time: Option<String>Update time (RFC 3339).
expiration_time: Option<String>Expiration time (RFC 3339).
sha256_hash: Option<String>SHA-256 hash (base64).
uri: Option<String>URI usable as fileData.fileUri.
state: Option<String>PROCESSING, ACTIVE or FAILED.
Trait Implementations§
Source§impl Clone for GoogleFile
impl Clone for GoogleFile
Source§fn clone(&self) -> GoogleFile
fn clone(&self) -> GoogleFile
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for GoogleFile
impl Debug for GoogleFile
Source§impl Default for GoogleFile
impl Default for GoogleFile
Source§fn default() -> GoogleFile
fn default() -> GoogleFile
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for GoogleFile
impl<'de> Deserialize<'de> for GoogleFile
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
impl Eq for GoogleFile
Source§impl PartialEq for GoogleFile
impl PartialEq for GoogleFile
impl StructuralPartialEq for GoogleFile
Auto Trait Implementations§
impl Freeze for GoogleFile
impl RefUnwindSafe for GoogleFile
impl Send for GoogleFile
impl Sync for GoogleFile
impl Unpin for GoogleFile
impl UnsafeUnpin for GoogleFile
impl UnwindSafe for GoogleFile
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.