Struct gapi_grpc::google::apps::drive::activity::v2::DriveItem[][src]

pub struct DriveItem {
    pub name: String,
    pub title: String,
    pub file: Option<File>,
    pub folder: Option<Folder>,
    pub mime_type: String,
    pub owner: Option<Owner>,
    pub item_type: Option<ItemType>,
}

A Drive item, such as a file or folder.

Fields

name: String

The target Drive item. The format is items/ITEM_ID.

title: String

The title of the Drive item.

file: Option<File>

This field is deprecated; please use the driveFile field instead.

folder: Option<Folder>

This field is deprecated; please use the driveFolder field instead.

mime_type: String

The MIME type of the Drive item. See https://developers.google.com/drive/v3/web/mime-types.

owner: Option<Owner>

Information about the owner of this Drive item.

item_type: Option<ItemType>

If present, this describes the type of the Drive item.

Trait Implementations

impl Clone for DriveItem[src]

impl Debug for DriveItem[src]

impl Default for DriveItem[src]

impl Message for DriveItem[src]

impl PartialEq<DriveItem> for DriveItem[src]

impl StructuralPartialEq for DriveItem[src]

Auto Trait Implementations

impl RefUnwindSafe for DriveItem

impl Send for DriveItem

impl Sync for DriveItem

impl Unpin for DriveItem

impl UnwindSafe for DriveItem

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> 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> IntoRequest<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 
[src]

impl<T> WithSubscriber for T[src]