pub struct DriveFileListBuilder<C> { /* private fields */ }Expand description
Builder for the files method.
Implementations§
Source§impl<C> DriveFileListBuilder<C>
impl<C> DriveFileListBuilder<C>
Sourcepub fn as_request(&self) -> &Request
pub fn as_request(&self) -> &Request
Gets the request object for reuse.
Sourcepub fn type_(&mut self, type_: Mime) -> &mut Self
pub fn type_(&mut self, type_: Mime) -> &mut Self
Limits the listed files to those of the specified MIME type.
Sourcepub fn folder(&mut self, folder: impl EntityRef<DriveFolder>) -> &mut Self
pub fn folder(&mut self, folder: impl EntityRef<DriveFolder>) -> &mut Self
Specifies the folder to list the files.
Source§impl<C: Client + Sync> DriveFileListBuilder<C>
impl<C: Client + Sync> DriveFileListBuilder<C>
Sourcepub fn list(&self) -> PagerStream<BoxPager<'_, C, DriveFile>>
pub fn list(&self) -> PagerStream<BoxPager<'_, C, DriveFile>>
Lists the files.
Auto Trait Implementations§
impl<C> Freeze for DriveFileListBuilder<C>where
C: Freeze,
impl<C> RefUnwindSafe for DriveFileListBuilder<C>where
C: RefUnwindSafe,
impl<C> Send for DriveFileListBuilder<C>where
C: Send,
impl<C> Sync for DriveFileListBuilder<C>where
C: Sync,
impl<C> Unpin for DriveFileListBuilder<C>where
C: Unpin,
impl<C> UnwindSafe for DriveFileListBuilder<C>where
C: UnwindSafe,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more