[][src]Struct onedrive_api::resource::Drive

#[non_exhaustive]pub struct Drive {
    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

Microsoft Docs

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>sharepoint_ids: Option<JsonValue>special: Option<Vec<DriveItem>>system: Option<JsonValue>web_url: Option<Url>

Trait Implementations

impl Debug for Drive[src]

impl Default for Drive[src]

impl<'de> Deserialize<'de> for Drive[src]

impl Serialize for Drive[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.