pub struct DriveResourceInfo {
pub drive_file_id: Option<String>,
pub resource_key: Option<String>,
}Expand description
Information about the Drive resource where a task was assigned from (the document, sheet, etc.).
This type is not used in any activity, and only used as part of another schema.
Fields§
§drive_file_id: Option<String>Output only. Identifier of the file in the Drive API.
resource_key: Option<String>Output only. Resource key required to access files shared via a shared link. Not required for all files. See also developers.google.com/drive/api/guides/resource-keys.
Trait Implementations§
Source§impl Clone for DriveResourceInfo
impl Clone for DriveResourceInfo
Source§fn clone(&self) -> DriveResourceInfo
fn clone(&self) -> DriveResourceInfo
Returns a duplicate of the value. Read more
1.0.0 · 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 DriveResourceInfo
impl Debug for DriveResourceInfo
Source§impl Default for DriveResourceInfo
impl Default for DriveResourceInfo
Source§fn default() -> DriveResourceInfo
fn default() -> DriveResourceInfo
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for DriveResourceInfo
impl<'de> Deserialize<'de> for DriveResourceInfo
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 Serialize for DriveResourceInfo
impl Serialize for DriveResourceInfo
impl Part for DriveResourceInfo
Auto Trait Implementations§
impl Freeze for DriveResourceInfo
impl RefUnwindSafe for DriveResourceInfo
impl Send for DriveResourceInfo
impl Sync for DriveResourceInfo
impl Unpin for DriveResourceInfo
impl UnwindSafe for DriveResourceInfo
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