Struct dropbox_sdk::files::ListFolderLongpollArg
source · [−]#[non_exhaustive]pub struct ListFolderLongpollArg {
pub cursor: ListFolderCursor,
pub timeout: u64,
}
dbx_files
only.Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.cursor: ListFolderCursor
A cursor as returned by list_folder()
or
list_folder_continue()
. Cursors retrieved by setting
ListFolderArg::include_media_info
to true
are not supported.
timeout: u64
A timeout in seconds. The request will block for at most this length of time, plus up to 90 seconds of random jitter added to avoid the thundering herd problem. Care should be taken when using this parameter, as some network infrastructure does not support long timeouts.
Implementations
sourceimpl ListFolderLongpollArg
impl ListFolderLongpollArg
pub fn new(cursor: ListFolderCursor) -> Self
pub fn with_timeout(self, value: u64) -> Self
Trait Implementations
sourceimpl Clone for ListFolderLongpollArg
impl Clone for ListFolderLongpollArg
sourcefn clone(&self) -> ListFolderLongpollArg
fn clone(&self) -> ListFolderLongpollArg
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for ListFolderLongpollArg
impl Debug for ListFolderLongpollArg
sourceimpl<'de> Deserialize<'de> for ListFolderLongpollArg
impl<'de> Deserialize<'de> for ListFolderLongpollArg
sourcefn 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
sourceimpl PartialEq<ListFolderLongpollArg> for ListFolderLongpollArg
impl PartialEq<ListFolderLongpollArg> for ListFolderLongpollArg
sourcefn eq(&self, other: &ListFolderLongpollArg) -> bool
fn eq(&self, other: &ListFolderLongpollArg) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &ListFolderLongpollArg) -> bool
fn ne(&self, other: &ListFolderLongpollArg) -> bool
This method tests for !=
.
sourceimpl Serialize for ListFolderLongpollArg
impl Serialize for ListFolderLongpollArg
impl StructuralPartialEq for ListFolderLongpollArg
Auto Trait Implementations
impl RefUnwindSafe for ListFolderLongpollArg
impl Send for ListFolderLongpollArg
impl Sync for ListFolderLongpollArg
impl Unpin for ListFolderLongpollArg
impl UnwindSafe for ListFolderLongpollArg
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more