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

pub struct ListFolderLongpollArg {
    pub cursor: ListFolderCursor,
    pub timeout: u64,
}

Fields

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 Debug for ListFolderLongpollArg[src]

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

impl Serialize 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, 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.