Struct onedrive_api::ListChildrenFetcher
source · pub struct ListChildrenFetcher { /* private fields */ }Expand description
Implementations§
source§impl ListChildrenFetcher
impl ListChildrenFetcher
sourcepub fn resume_from(next_url: impl Into<String>) -> Self
pub fn resume_from(next_url: impl Into<String>) -> Self
Resume a fetching process from url from
ListChildrenFetcher::next_url.
sourcepub fn next_url(&self) -> Option<&str>
pub fn next_url(&self) -> Option<&str>
Try to get the url to the next page.
Used for resuming the fetching progress.
§Error
Will success only if there are more pages and the first page is already readed.
§Note
The first page data from OneDrive::list_children_with_option
will be cached and have no idempotent url to resume/re-fetch.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ListChildrenFetcher
impl RefUnwindSafe for ListChildrenFetcher
impl Send for ListChildrenFetcher
impl Sync for ListChildrenFetcher
impl Unpin for ListChildrenFetcher
impl UnwindSafe for ListChildrenFetcher
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