pub struct Drive {
pub name: Option<String>,
pub root: Option<DriveItem>,
pub title: Option<String>,
}Expand description
Information about a shared drive.
This type is not used in any activity, and only used as part of another schema.
Fields§
§name: Option<String>The resource name of the shared drive. The format is COLLECTION_ID/DRIVE_ID. Clients should not assume a specific collection ID for this resource name.
root: Option<DriveItem>The root of this shared drive.
title: Option<String>The title of the shared drive.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Drive
impl<'de> Deserialize<'de> for Drive
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 Part for Drive
Auto Trait Implementations§
impl Freeze for Drive
impl RefUnwindSafe for Drive
impl Send for Drive
impl Sync for Drive
impl Unpin for Drive
impl UnwindSafe for Drive
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