Struct dropbox_sdk::sharing::ListSharedLinksResult
source · [−]#[non_exhaustive]pub struct ListSharedLinksResult {
pub links: Vec<SharedLinkMetadata>,
pub has_more: bool,
pub cursor: Option<String>,
}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.links: Vec<SharedLinkMetadata>Shared links applicable to the path argument.
has_more: boolIs true if there are additional shared links that have not been returned yet. Pass the
cursor into list_shared_links() to retrieve them.
cursor: Option<String>Pass the cursor into list_shared_links() to obtain the additional
links. Cursor is returned only if no path is given.
Implementations
sourceimpl ListSharedLinksResult
impl ListSharedLinksResult
pub fn new(links: Vec<SharedLinkMetadata>, has_more: bool) -> Self
pub fn with_cursor(self, value: String) -> Self
Trait Implementations
sourceimpl Clone for ListSharedLinksResult
impl Clone for ListSharedLinksResult
sourcefn clone(&self) -> ListSharedLinksResult
fn clone(&self) -> ListSharedLinksResult
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 ListSharedLinksResult
impl Debug for ListSharedLinksResult
sourceimpl<'de> Deserialize<'de> for ListSharedLinksResult
impl<'de> Deserialize<'de> for ListSharedLinksResult
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: &ListSharedLinksResult) -> bool
fn eq(&self, other: &ListSharedLinksResult) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &ListSharedLinksResult) -> bool
fn ne(&self, other: &ListSharedLinksResult) -> bool
This method tests for !=.
sourceimpl Serialize for ListSharedLinksResult
impl Serialize for ListSharedLinksResult
impl Eq for ListSharedLinksResult
impl StructuralEq for ListSharedLinksResult
impl StructuralPartialEq for ListSharedLinksResult
Auto Trait Implementations
impl RefUnwindSafe for ListSharedLinksResult
impl Send for ListSharedLinksResult
impl Sync for ListSharedLinksResult
impl Unpin for ListSharedLinksResult
impl UnwindSafe for ListSharedLinksResult
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