pub struct DriveItem {
pub id: String,
pub name: String,
pub size: u64,
pub etag: Option<String>,
pub web_url: Option<String>,
pub created: Option<String>,
pub modified: Option<String>,
pub parent_reference: Option<ParentReference>,
pub folder: Option<Folder>,
pub file: Option<File>,
pub download_url: Option<String>,
}Fields§
§id: String§name: String§size: u64§etag: Option<String>§web_url: Option<String>§created: Option<String>§modified: Option<String>§parent_reference: Option<ParentReference>§folder: Option<Folder>§file: Option<File>§download_url: Option<String>Pre-authenticated short-lived URL — only populated by /driveItem
?select=...&expand=... when explicitly requested. We never include
it in canonical_json() output unless the caller asks for stat.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for DriveItem
impl<'de> Deserialize<'de> for DriveItem
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
Auto Trait Implementations§
impl Freeze for DriveItem
impl RefUnwindSafe for DriveItem
impl Send for DriveItem
impl Sync for DriveItem
impl Unpin for DriveItem
impl UnsafeUnpin for DriveItem
impl UnwindSafe for DriveItem
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