#[non_exhaustive]pub struct ListFolderResult {
pub entries: Vec<Metadata>,
pub cursor: ListFolderCursor,
pub has_more: bool,
}
Available on crate features
sync_routes
and dbx_files
only.Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.entries: Vec<Metadata>
The files and (direct) subfolders in the folder.
cursor: ListFolderCursor
Pass the cursor into list_folder_continue()
to see
what’s changed in the folder since your previous query.
has_more: bool
If true, then there are more entries available. Pass the cursor to
list_folder_continue()
to retrieve the rest.
Implementations§
Trait Implementations§
Source§impl Clone for ListFolderResult
impl Clone for ListFolderResult
Source§fn clone(&self) -> ListFolderResult
fn clone(&self) -> ListFolderResult
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for ListFolderResult
impl Debug for ListFolderResult
Source§impl<'de> Deserialize<'de> for ListFolderResult
impl<'de> Deserialize<'de> for ListFolderResult
Source§fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for ListFolderResult
impl PartialEq for ListFolderResult
Source§impl Serialize for ListFolderResult
impl Serialize for ListFolderResult
impl StructuralPartialEq for ListFolderResult
Auto Trait Implementations§
impl Freeze for ListFolderResult
impl RefUnwindSafe for ListFolderResult
impl Send for ListFolderResult
impl Sync for ListFolderResult
impl Unpin for ListFolderResult
impl UnwindSafe for ListFolderResult
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