Struct dropbox_sdk::files::ListFolderLongpollArg [−][src]
#[non_exhaustive]pub struct ListFolderLongpollArg { pub cursor: ListFolderCursor, pub timeout: u64, }
dbx_files
only.Fields (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
impl ListFolderLongpollArg
[src]
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 Clone for ListFolderLongpollArg
[src]fn clone(&self) -> ListFolderLongpollArg
[src]
fn clone(&self) -> ListFolderLongpollArg
[src]Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]Performs copy-assignment from source
. Read more
impl Debug for ListFolderLongpollArg
[src]
impl Debug for ListFolderLongpollArg
[src]impl<'de> Deserialize<'de> for ListFolderLongpollArg
[src]
impl<'de> Deserialize<'de> for ListFolderLongpollArg
[src]fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
[src]
fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
[src]Deserialize this value from the given Serde deserializer. Read more
impl PartialEq<ListFolderLongpollArg> for ListFolderLongpollArg
[src]
impl PartialEq<ListFolderLongpollArg> for ListFolderLongpollArg
[src]fn eq(&self, other: &ListFolderLongpollArg) -> bool
[src]
fn eq(&self, other: &ListFolderLongpollArg) -> bool
[src]This method tests for self
and other
values to be equal, and is used
by ==
. Read more
fn ne(&self, other: &ListFolderLongpollArg) -> bool
[src]
fn ne(&self, other: &ListFolderLongpollArg) -> bool
[src]This method tests for !=
.
impl Serialize for ListFolderLongpollArg
[src]
impl Serialize for ListFolderLongpollArg
[src]impl StructuralPartialEq for ListFolderLongpollArg
[src]
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
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> ToOwned for T where
T: Clone,
[src]
impl<T> ToOwned for T where
T: Clone,
[src]type Owned = T
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn to_owned(&self) -> T
[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)
[src]
pub fn clone_into(&self, target: &mut T)
[src]🔬 This is a nightly-only experimental API. (toowned_clone_into
)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,