[][src]Struct onedrive_api::resource::DriveItem

pub struct DriveItem {
    pub deleted: Option<Deleted>,
    pub description: Option<String>,
    pub size: Option<FileSize>,
    pub children: Option<Vec<DriveItem>>,
    pub id: Option<ItemId>,
    pub e_tag: Option<Tag>,
    pub name: Option<String>,
    pub parent_reference: Option<ItemReference>,
    pub web_url: Option<Url>,
    pub download_url: Option<Url>,
    // some fields omitted
}

DriveItem resource type

The DriveItem resource represents a file, folder, or other item stored in a drive. All file system objects in OneDrive and SharePoint are returned as DriveItem resources.

See also

Microsoft Docs

Fields

deleted: Option<Deleted>description: Option<String>size: Option<FileSize>children: Option<Vec<DriveItem>>id: Option<ItemId>e_tag: Option<Tag>name: Option<String>parent_reference: Option<ItemReference>web_url: Option<Url>download_url: Option<Url>

Trait Implementations

impl Debug for DriveItem[src]

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

Auto Trait Implementations

impl Send for DriveItem

impl Sync for DriveItem

Blanket Implementations

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

impl<T> From for T[src]

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

type Error = Infallible

The type returned in the event of a conversion error.

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

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

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

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

The type returned in the event of a conversion error.

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

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

impl<T> Erased for T