[][src]Struct graph_rs_sdk::drive::DrivesRequest

pub struct DrivesRequest<'a, Client> { /* fields omitted */ }

Implementations

impl<'a, Client> DrivesRequest<'a, Client> where
    Client: RequestClient
[src]

pub fn check_out_item<S: AsRef<str>>(
    &'a self,
    id: S
) -> IntoResponse<'a, GraphResponse<Content>, Client>
[src]

pub fn preview<S: AsRef<str>, B: Serialize>(
    &'a self,
    id: S,
    body: Option<&B>
) -> IntoResponse<'a, Value, Client>
[src]

pub fn upload_new<S: AsRef<str>, P: AsRef<Path>>(
    &'a self,
    id: S,
    file: P
) -> IntoResponse<'a, Value, Client>
[src]

pub fn create_upload_session<S: AsRef<str>, P: AsRef<Path> + Send + Sync, B: Serialize>(
    &'a self,
    id: S,
    file: P,
    body: &B
) -> IntoResponse<'a, UploadSessionClient<Client>, Client>
[src]

impl<'a> DrivesRequest<'a, BlockingHttpClient>[src]

pub fn download<S: AsRef<str>, P: AsRef<Path>>(
    &'a self,
    id: S,
    directory: P
) -> BlockingDownload
[src]

impl<'a> DrivesRequest<'a, AsyncHttpClient>[src]

pub fn download<S: AsRef<str>, P: AsRef<Path>>(
    &'a self,
    id: S,
    directory: P
) -> AsyncDownload
[src]

impl<'a, Client> DrivesRequest<'a, Client> where
    Client: RequestClient
[src]

pub fn items(&self) -> ItemRequest<'a, Client>[src]

pub fn item<ID: AsRef<str>>(&self, id: ID) -> ItemsRequest<'a, Client>[src]

pub fn lists(&self) -> ListRequest<'a, Client>[src]

pub fn list<ID: AsRef<str>>(&self, id: ID) -> ListsRequest<'a, Client>[src]

pub fn list_drive(&'a self) -> IntoResponse<'a, Collection<Value>, Client>[src]

pub fn create_drive<B: Serialize>(
    &'a self,
    body: &B
) -> IntoResponse<'a, Value, Client>
[src]

pub fn get_items<S: AsRef<str>>(
    &'a self,
    id: S
) -> IntoResponse<'a, Value, Client>
[src]

pub fn move_items<S: AsRef<str>, B: Serialize>(
    &'a self,
    id: S,
    body: &B
) -> IntoResponse<'a, Value, Client>
[src]

pub fn delete_items<S: AsRef<str>>(
    &'a self,
    id: S
) -> IntoResponse<'a, GraphResponse<Content>, Client>
[src]

pub fn update_items<S: AsRef<str>, B: Serialize>(
    &'a self,
    id: S,
    body: &B
) -> IntoResponse<'a, Value, Client>
[src]

pub fn get_item_activities<S: AsRef<str>>(
    &'a self,
    id: S
) -> IntoResponse<'a, Collection<Value>, Client>
[src]

pub fn check_in_item<S: AsRef<str>, B: Serialize>(
    &'a self,
    id: S,
    body: &B
) -> IntoResponse<'a, GraphResponse<Content>, Client>
[src]

pub fn list_children<S: AsRef<str>>(
    &'a self,
    id: S
) -> IntoResponse<'a, Collection<Value>, Client>
[src]

pub fn create_folder<S: AsRef<str>, B: Serialize>(
    &'a self,
    id: S,
    body: &B
) -> IntoResponse<'a, Value, Client>
[src]

pub fn get_item_content<S: AsRef<str>>(
    &'a self,
    id: S
) -> IntoResponse<'a, Value, Client>
[src]

pub fn upload_replace<S: AsRef<str>, P: AsRef<Path>>(
    &'a self,
    id: S,
    file: P
) -> IntoResponse<'a, Value, Client>
[src]

pub fn copy_item<S: AsRef<str>, B: Serialize>(
    &'a self,
    id: S,
    body: &B
) -> IntoResponse<'a, GraphResponse<Content>, Client>
[src]

pub fn get_thumbnail_binary<S: AsRef<str>>(
    &'a self,
    id: S,
    id2: S,
    id3: S
) -> IntoResponse<'a, GraphResponse<Content>, Client>
[src]

pub fn get_thumbnail<S: AsRef<str>>(
    &'a self,
    id: S,
    id2: S,
    id3: S
) -> IntoResponse<'a, GraphResponse<Content>, Client>
[src]

pub fn list_item_versions<S: AsRef<str>>(
    &'a self,
    id: S
) -> IntoResponse<'a, Collection<Value>, Client>
[src]

pub fn restore_item_versions<S: AsRef<str>>(
    &'a self,
    id: S,
    id2: S
) -> IntoResponse<'a, GraphResponse<Content>, Client>
[src]

pub fn list_thumbnails(
    &'a self
) -> IntoResponse<'a, GraphResponse<Content>, Client>
[src]

pub fn list_root_children(
    &'a self
) -> IntoResponse<'a, Collection<Value>, Client>
[src]

pub fn create_root_folder<B: Serialize>(
    &'a self,
    body: &B
) -> IntoResponse<'a, Value, Client>
[src]

pub fn list_root_activities(
    &'a self
) -> IntoResponse<'a, Collection<Value>, Client>
[src]

pub fn delta(&'a self) -> IntoResponse<'a, DeltaPhantom<Value>, Client>[src]

pub fn get_drive(&'a self) -> IntoResponse<'a, Value, Client>[src]

pub fn update_drive<B: Serialize>(
    &'a self,
    body: &B
) -> IntoResponse<'a, GraphResponse<Content>, Client>
[src]

pub fn delete_drive(
    &'a self
) -> IntoResponse<'a, GraphResponse<Content>, Client>
[src]

pub fn list_following(&'a self) -> IntoResponse<'a, Collection<Value>, Client>[src]

pub fn create_following<B: Serialize>(
    &'a self,
    body: &B
) -> IntoResponse<'a, Value, Client>
[src]

pub fn get_following<S: AsRef<str>>(
    &'a self,
    id: S
) -> IntoResponse<'a, Value, Client>
[src]

pub fn update_following<S: AsRef<str>, B: Serialize>(
    &'a self,
    id: S,
    body: &B
) -> IntoResponse<'a, GraphResponse<Content>, Client>
[src]

pub fn get_list(&'a self) -> IntoResponse<'a, Value, Client>[src]

pub fn update_list<B: Serialize>(
    &'a self,
    body: &B
) -> IntoResponse<'a, GraphResponse<Content>, Client>
[src]

pub fn recent(&'a self) -> IntoResponse<'a, Collection<Value>, Client>[src]

pub fn get_root(&'a self) -> IntoResponse<'a, Value, Client>[src]

pub fn update_root<B: Serialize>(
    &'a self,
    body: &B
) -> IntoResponse<'a, GraphResponse<Content>, Client>
[src]

pub fn shared_with_me(&'a self) -> IntoResponse<'a, Collection<Value>, Client>[src]

pub fn list_special(&'a self) -> IntoResponse<'a, Collection<Value>, Client>[src]

pub fn create_special<B: Serialize>(
    &'a self,
    body: &B
) -> IntoResponse<'a, Value, Client>
[src]

pub fn get_special<S: AsRef<str>>(
    &'a self,
    id: S
) -> IntoResponse<'a, Value, Client>
[src]

pub fn update_special<S: AsRef<str>, B: Serialize>(
    &'a self,
    id: S,
    body: &B
) -> IntoResponse<'a, GraphResponse<Content>, Client>
[src]

Auto Trait Implementations

impl<'a, Client> RefUnwindSafe for DrivesRequest<'a, Client> where
    Client: RefUnwindSafe
[src]

impl<'a, Client> Send for DrivesRequest<'a, Client> where
    Client: Sync
[src]

impl<'a, Client> Sync for DrivesRequest<'a, Client> where
    Client: Sync
[src]

impl<'a, Client> Unpin for DrivesRequest<'a, Client>[src]

impl<'a, Client> UnwindSafe for DrivesRequest<'a, Client> where
    Client: RefUnwindSafe
[src]

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> Pointable for T

type Init = T

The type for initializers.

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.