pub struct ListFolderOptions { /* private fields */ }
Expand description
Options for customizing folder listing behavior.
This struct allows you to control recursion, visibility of deleted items,
and whether to include files and shared items in the response from listfolder
.
Implementations§
Source§impl ListFolderOptions
impl ListFolderOptions
Sourcepub fn with_recursive(self) -> Self
pub fn with_recursive(self) -> Self
Enables recursive listing of folder contents.
Sourcepub fn with_show_deleted(self) -> Self
pub fn with_show_deleted(self) -> Self
Enables showing deleted files and folders in the response.
Sourcepub fn with_no_files(self) -> Self
pub fn with_no_files(self) -> Self
Excludes files from the listing (folders only).
Excludes shared items from the listing.
Trait Implementations§
Source§impl Default for ListFolderOptions
impl Default for ListFolderOptions
Source§fn default() -> ListFolderOptions
fn default() -> ListFolderOptions
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ListFolderOptions
impl RefUnwindSafe for ListFolderOptions
impl Send for ListFolderOptions
impl Sync for ListFolderOptions
impl Unpin for ListFolderOptions
impl UnwindSafe for ListFolderOptions
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