[][src]Struct onedrive_api::DriveLocation

pub struct DriveLocation { /* fields omitted */ }

Specify the location of a Drive resource.

See also

resource::Drive

Microsoft Docs

Methods

impl DriveLocation[src]

pub fn me() -> Self[src]

Current user's OneDrive.

See also

Microsoft Docs

pub fn from_user(id_or_principal_name: String) -> Self[src]

OneDrive of a user.

See also

Microsoft Docs

pub fn from_group(group_id: String) -> Self[src]

The document library associated with a group.

See also

Microsoft Docs

pub fn from_site(site_id: String) -> Self[src]

The document library for a site.

See also

Microsoft Docs

pub fn from_id(drive_id: DriveId) -> Self[src]

A drive with ID specified.

See also

Microsoft Docs

Trait Implementations

impl From<DriveId> for DriveLocation[src]

impl Clone for DriveLocation[src]

impl Debug for DriveLocation[src]

Auto Trait Implementations

Blanket Implementations

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

impl<T> From<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 = !

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<T> Borrow<T> for T where
    T: ?Sized
[src]

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

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

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

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