Struct onedrive_api::resource::Drive [−][src]
#[non_exhaustive]pub struct Drive {}Show fields
pub id: Option<DriveId>, pub created_by: Option<JsonValue>, pub created_date_time: Option<TimestampString>, pub description: Option<String>, pub drive_type: Option<JsonValue>, pub items: Option<Vec<DriveItem>>, pub last_modified_by: Option<JsonValue>, pub last_modified_date_time: Option<TimestampString>, pub name: Option<String>, pub owner: Option<JsonValue>, pub quota: Option<JsonValue>, pub root: Option<DriveItem>, pub sharepoint_ids: Option<JsonValue>, pub special: Option<Vec<DriveItem>>, pub system: Option<JsonValue>, pub web_url: Option<Url>,
Drive resource type
The drive resource is the top level object representing a user’s OneDrive or a document library in SharePoint.
See also
Fields (Non-exhaustive)
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct {{ .. }} syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.id: Option<DriveId>created_by: Option<JsonValue>created_date_time: Option<TimestampString>description: Option<String>drive_type: Option<JsonValue>items: Option<Vec<DriveItem>>last_modified_by: Option<JsonValue>last_modified_date_time: Option<TimestampString>name: Option<String>owner: Option<JsonValue>quota: Option<JsonValue>root: Option<DriveItem>special: Option<Vec<DriveItem>>system: Option<JsonValue>web_url: Option<Url>Trait Implementations
impl<'de> Deserialize<'de> for Drive[src]
impl<'de> Deserialize<'de> for Drive[src]fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>, [src]
__D: Deserializer<'de>,
Auto Trait Implementations
impl RefUnwindSafe for Drive
impl RefUnwindSafe for Driveimpl UnwindSafe for Drive
impl UnwindSafe for DriveBlanket Implementations
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>, [src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>, [src]impl<T> Instrument for T[src]
impl<T> Instrument for T[src]