Struct dropbox_sdk::files::SearchV2Result
source · [−]#[non_exhaustive]pub struct SearchV2Result {
pub matches: Vec<SearchMatchV2>,
pub has_more: bool,
pub cursor: Option<SearchV2Cursor>,
}
Available on crate feature
dbx_files
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.matches: Vec<SearchMatchV2>
A list (possibly empty) of matches for the query.
has_more: bool
Used for paging. If true, indicates there is another page of results available that can be
fetched by calling search_continue_v2()
with the cursor.
cursor: Option<SearchV2Cursor>
Pass the cursor into search_continue_v2()
to fetch the next page of
results.
Implementations
sourceimpl SearchV2Result
impl SearchV2Result
pub fn new(matches: Vec<SearchMatchV2>, has_more: bool) -> Self
pub fn with_cursor(self, value: SearchV2Cursor) -> Self
Trait Implementations
sourceimpl Clone for SearchV2Result
impl Clone for SearchV2Result
sourcefn clone(&self) -> SearchV2Result
fn clone(&self) -> SearchV2Result
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 SearchV2Result
impl Debug for SearchV2Result
sourceimpl<'de> Deserialize<'de> for SearchV2Result
impl<'de> Deserialize<'de> for SearchV2Result
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
sourceimpl PartialEq<SearchV2Result> for SearchV2Result
impl PartialEq<SearchV2Result> for SearchV2Result
sourcefn eq(&self, other: &SearchV2Result) -> bool
fn eq(&self, other: &SearchV2Result) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &SearchV2Result) -> bool
fn ne(&self, other: &SearchV2Result) -> bool
This method tests for !=
.
sourceimpl Serialize for SearchV2Result
impl Serialize for SearchV2Result
impl StructuralPartialEq for SearchV2Result
Auto Trait Implementations
impl RefUnwindSafe for SearchV2Result
impl Send for SearchV2Result
impl Sync for SearchV2Result
impl Unpin for SearchV2Result
impl UnwindSafe for SearchV2Result
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