Enum onedrive_api::resource::ItemLocation[][src]

pub enum ItemLocation<'a> {
    ItemId(&'a str),
    Path(&'a str),
}

Variants

Trait Implementations

impl<'a> From<&'a str> for ItemLocation<'a>
[src]

Performs the conversion.

impl<'a> From<&'a DriveItem> for ItemLocation<'a>
[src]

Performs the conversion.

impl<'a> From<&'a ItemId> for ItemLocation<'a>
[src]

Performs the conversion.

Auto Trait Implementations

impl<'a> Send for ItemLocation<'a>

impl<'a> Sync for ItemLocation<'a>