Struct dropbox_sdk::files::ListFolderLongpollArg[][src]

#[non_exhaustive]pub struct ListFolderLongpollArg {
    pub cursor: ListFolderCursor,
    pub timeout: u64,
}
This is supported on crate feature dbx_files only.

Fields (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.
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

impl ListFolderLongpollArg[src]

pub fn new(cursor: ListFolderCursor) -> Self[src]

pub fn with_timeout(self, value: u64) -> Self[src]

Trait Implementations

impl Clone for ListFolderLongpollArg[src]

impl Debug for ListFolderLongpollArg[src]

impl<'de> Deserialize<'de> for ListFolderLongpollArg[src]

impl PartialEq<ListFolderLongpollArg> for ListFolderLongpollArg[src]

impl Serialize for ListFolderLongpollArg[src]

impl StructuralPartialEq for ListFolderLongpollArg[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.