Struct dropbox_sdk::sharing::ListSharedLinksArg
source · [−]#[non_exhaustive]pub struct ListSharedLinksArg {
pub path: Option<ReadPath>,
pub cursor: Option<String>,
pub direct_only: Option<bool>,
}Available on crate feature
dbx_sharing only.Fields (Non-exhaustive)
This struct is marked as 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.path: Option<ReadPath>See list_shared_links() description.
cursor: Option<String>The cursor returned by your last call to list_shared_links().
direct_only: Option<bool>See list_shared_links() description.
Implementations
sourceimpl ListSharedLinksArg
impl ListSharedLinksArg
pub fn with_path(self, value: ReadPath) -> Self
pub fn with_cursor(self, value: String) -> Self
pub fn with_direct_only(self, value: bool) -> Self
Trait Implementations
sourceimpl Clone for ListSharedLinksArg
impl Clone for ListSharedLinksArg
sourcefn clone(&self) -> ListSharedLinksArg
fn clone(&self) -> ListSharedLinksArg
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 ListSharedLinksArg
impl Debug for ListSharedLinksArg
sourceimpl Default for ListSharedLinksArg
impl Default for ListSharedLinksArg
sourcefn default() -> ListSharedLinksArg
fn default() -> ListSharedLinksArg
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for ListSharedLinksArg
impl<'de> Deserialize<'de> for ListSharedLinksArg
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
sourcefn eq(&self, other: &ListSharedLinksArg) -> bool
fn eq(&self, other: &ListSharedLinksArg) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &ListSharedLinksArg) -> bool
fn ne(&self, other: &ListSharedLinksArg) -> bool
This method tests for !=.
sourceimpl Serialize for ListSharedLinksArg
impl Serialize for ListSharedLinksArg
impl Eq for ListSharedLinksArg
impl StructuralEq for ListSharedLinksArg
impl StructuralPartialEq for ListSharedLinksArg
Auto Trait Implementations
impl RefUnwindSafe for ListSharedLinksArg
impl Send for ListSharedLinksArg
impl Sync for ListSharedLinksArg
impl Unpin for ListSharedLinksArg
impl UnwindSafe for ListSharedLinksArg
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more