Struct onedrive_api::resource::DriveItem
source · pub struct DriveItem {
pub description: Option<String>,
pub size: FileSize,
pub children: Option<Vec<DriveItem>>,
pub id: ItemId,
pub e_tag: Tag,
pub name: String,
pub web_url: Url,
pub download_url: Option<Url>,
}Expand description
The DriveItem resource.
See also
https://docs.microsoft.com/en-us/onedrive/developer/rest-api/resources/driveitem?view=odsp-graph-online
Fields§
§description: Option<String>§size: FileSize§children: Option<Vec<DriveItem>>§id: ItemId§e_tag: Tag§name: String§web_url: Url§download_url: Option<Url>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