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