[−][src]Struct graph_rs_sdk::drive::DrivesRequest
Implementations
impl<'a, Client> DrivesRequest<'a, Client> where
Client: RequestClient, [src]
Client: RequestClient,
pub fn check_out_item<S: AsRef<str>>(
&'a self,
id: S
) -> IntoResponse<'a, GraphResponse<Content>, Client>[src]
&'a self,
id: S
) -> IntoResponse<'a, GraphResponse<Content>, Client>
pub fn preview<S: AsRef<str>, B: Serialize>(
&'a self,
id: S,
body: Option<&B>
) -> IntoResponse<'a, Value, Client>[src]
&'a self,
id: S,
body: Option<&B>
) -> IntoResponse<'a, Value, Client>
pub fn upload_new<S: AsRef<str>, P: AsRef<Path>>(
&'a self,
id: S,
file: P
) -> IntoResponse<'a, Value, Client>[src]
&'a self,
id: S,
file: P
) -> IntoResponse<'a, Value, Client>
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]
&'a self,
id: S,
file: P,
body: &B
) -> IntoResponse<'a, UploadSessionClient<Client>, Client>
impl<'a> DrivesRequest<'a, BlockingHttpClient>[src]
pub fn download<S: AsRef<str>, P: AsRef<Path>>(
&'a self,
id: S,
directory: P
) -> BlockingDownload[src]
&'a self,
id: S,
directory: P
) -> BlockingDownload
impl<'a> DrivesRequest<'a, AsyncHttpClient>[src]
pub fn download<S: AsRef<str>, P: AsRef<Path>>(
&'a self,
id: S,
directory: P
) -> AsyncDownload[src]
&'a self,
id: S,
directory: P
) -> AsyncDownload
impl<'a, Client> DrivesRequest<'a, Client> where
Client: RequestClient, [src]
Client: RequestClient,
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]
&'a self,
body: &B
) -> IntoResponse<'a, Value, Client>
pub fn get_items<S: AsRef<str>>(
&'a self,
id: S
) -> IntoResponse<'a, Value, Client>[src]
&'a self,
id: S
) -> IntoResponse<'a, Value, Client>
pub fn move_items<S: AsRef<str>, B: Serialize>(
&'a self,
id: S,
body: &B
) -> IntoResponse<'a, Value, Client>[src]
&'a self,
id: S,
body: &B
) -> IntoResponse<'a, Value, Client>
pub fn delete_items<S: AsRef<str>>(
&'a self,
id: S
) -> IntoResponse<'a, GraphResponse<Content>, Client>[src]
&'a self,
id: S
) -> IntoResponse<'a, GraphResponse<Content>, Client>
pub fn update_items<S: AsRef<str>, B: Serialize>(
&'a self,
id: S,
body: &B
) -> IntoResponse<'a, Value, Client>[src]
&'a self,
id: S,
body: &B
) -> IntoResponse<'a, Value, Client>
pub fn get_item_activities<S: AsRef<str>>(
&'a self,
id: S
) -> IntoResponse<'a, Collection<Value>, Client>[src]
&'a self,
id: S
) -> IntoResponse<'a, Collection<Value>, Client>
pub fn check_in_item<S: AsRef<str>, B: Serialize>(
&'a self,
id: S,
body: &B
) -> IntoResponse<'a, GraphResponse<Content>, Client>[src]
&'a self,
id: S,
body: &B
) -> IntoResponse<'a, GraphResponse<Content>, Client>
pub fn list_children<S: AsRef<str>>(
&'a self,
id: S
) -> IntoResponse<'a, Collection<Value>, Client>[src]
&'a self,
id: S
) -> IntoResponse<'a, Collection<Value>, Client>
pub fn create_folder<S: AsRef<str>, B: Serialize>(
&'a self,
id: S,
body: &B
) -> IntoResponse<'a, Value, Client>[src]
&'a self,
id: S,
body: &B
) -> IntoResponse<'a, Value, Client>
pub fn get_item_content<S: AsRef<str>>(
&'a self,
id: S
) -> IntoResponse<'a, Value, Client>[src]
&'a self,
id: S
) -> IntoResponse<'a, Value, Client>
pub fn upload_replace<S: AsRef<str>, P: AsRef<Path>>(
&'a self,
id: S,
file: P
) -> IntoResponse<'a, Value, Client>[src]
&'a self,
id: S,
file: P
) -> IntoResponse<'a, Value, Client>
pub fn copy_item<S: AsRef<str>, B: Serialize>(
&'a self,
id: S,
body: &B
) -> IntoResponse<'a, GraphResponse<Content>, Client>[src]
&'a self,
id: S,
body: &B
) -> IntoResponse<'a, GraphResponse<Content>, Client>
pub fn get_thumbnail_binary<S: AsRef<str>>(
&'a self,
id: S,
id2: S,
id3: S
) -> IntoResponse<'a, GraphResponse<Content>, Client>[src]
&'a self,
id: S,
id2: S,
id3: S
) -> IntoResponse<'a, GraphResponse<Content>, Client>
pub fn get_thumbnail<S: AsRef<str>>(
&'a self,
id: S,
id2: S,
id3: S
) -> IntoResponse<'a, GraphResponse<Content>, Client>[src]
&'a self,
id: S,
id2: S,
id3: S
) -> IntoResponse<'a, GraphResponse<Content>, Client>
pub fn list_item_versions<S: AsRef<str>>(
&'a self,
id: S
) -> IntoResponse<'a, Collection<Value>, Client>[src]
&'a self,
id: S
) -> IntoResponse<'a, Collection<Value>, Client>
pub fn restore_item_versions<S: AsRef<str>>(
&'a self,
id: S,
id2: S
) -> IntoResponse<'a, GraphResponse<Content>, Client>[src]
&'a self,
id: S,
id2: S
) -> IntoResponse<'a, GraphResponse<Content>, Client>
pub fn list_thumbnails(
&'a self
) -> IntoResponse<'a, GraphResponse<Content>, Client>[src]
&'a self
) -> IntoResponse<'a, GraphResponse<Content>, Client>
pub fn list_root_children(
&'a self
) -> IntoResponse<'a, Collection<Value>, Client>[src]
&'a self
) -> IntoResponse<'a, Collection<Value>, Client>
pub fn create_root_folder<B: Serialize>(
&'a self,
body: &B
) -> IntoResponse<'a, Value, Client>[src]
&'a self,
body: &B
) -> IntoResponse<'a, Value, Client>
pub fn list_root_activities(
&'a self
) -> IntoResponse<'a, Collection<Value>, Client>[src]
&'a self
) -> IntoResponse<'a, Collection<Value>, Client>
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]
&'a self,
body: &B
) -> IntoResponse<'a, GraphResponse<Content>, Client>
pub fn delete_drive(
&'a self
) -> IntoResponse<'a, GraphResponse<Content>, Client>[src]
&'a self
) -> IntoResponse<'a, GraphResponse<Content>, Client>
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]
&'a self,
body: &B
) -> IntoResponse<'a, Value, Client>
pub fn get_following<S: AsRef<str>>(
&'a self,
id: S
) -> IntoResponse<'a, Value, Client>[src]
&'a self,
id: S
) -> IntoResponse<'a, Value, Client>
pub fn update_following<S: AsRef<str>, B: Serialize>(
&'a self,
id: S,
body: &B
) -> IntoResponse<'a, GraphResponse<Content>, Client>[src]
&'a self,
id: S,
body: &B
) -> IntoResponse<'a, GraphResponse<Content>, Client>
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]
&'a self,
body: &B
) -> IntoResponse<'a, GraphResponse<Content>, Client>
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]
&'a self,
body: &B
) -> IntoResponse<'a, GraphResponse<Content>, Client>
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]
&'a self,
body: &B
) -> IntoResponse<'a, Value, Client>
pub fn get_special<S: AsRef<str>>(
&'a self,
id: S
) -> IntoResponse<'a, Value, Client>[src]
&'a self,
id: S
) -> IntoResponse<'a, Value, Client>
pub fn update_special<S: AsRef<str>, B: Serialize>(
&'a self,
id: S,
body: &B
) -> IntoResponse<'a, GraphResponse<Content>, Client>[src]
&'a self,
id: S,
body: &B
) -> IntoResponse<'a, GraphResponse<Content>, Client>
Auto Trait Implementations
impl<'a, Client> RefUnwindSafe for DrivesRequest<'a, Client> where
Client: RefUnwindSafe, [src]
Client: RefUnwindSafe,
impl<'a, Client> Send for DrivesRequest<'a, Client> where
Client: Sync, [src]
Client: Sync,
impl<'a, Client> Sync for DrivesRequest<'a, Client> where
Client: Sync, [src]
Client: Sync,
impl<'a, Client> Unpin for DrivesRequest<'a, Client>[src]
impl<'a, Client> UnwindSafe for DrivesRequest<'a, Client> where
Client: RefUnwindSafe, [src]
Client: RefUnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T[src]
impl<T> From<T> for T[src]
impl<T> Instrument for T[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>[src]
pub fn in_current_span(self) -> Instrumented<Self>[src]
impl<T> Instrument for T[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>[src]
pub fn in_current_span(self) -> Instrumented<Self>[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T> Pointable for T
pub const ALIGN: usize
type Init = T
The type for initializers.
pub unsafe fn init(init: <T as Pointable>::Init) -> usize
pub unsafe fn deref<'a>(ptr: usize) -> &'a T
pub unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T
pub unsafe fn drop(ptr: usize)
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,