pub struct SearchResponse {
pub total: Option<i64>,
pub next_results: Option<String>,
pub users: Option<Vec<User>>,
pub expandable: Option<Vec<String>>,
}
Expand description
SearchResponse : Search API response.
Fields§
§total: Option<i64>
§next_results: Option<String>
§users: Option<Vec<User>>
§expandable: Option<Vec<String>>
Implementations§
source§impl SearchResponse
impl SearchResponse
sourcepub fn new() -> SearchResponse
pub fn new() -> SearchResponse
Search API response.
Trait Implementations§
source§impl Clone for SearchResponse
impl Clone for SearchResponse
source§fn clone(&self) -> SearchResponse
fn clone(&self) -> SearchResponse
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for SearchResponse
impl Debug for SearchResponse
source§impl Default for SearchResponse
impl Default for SearchResponse
source§fn default() -> SearchResponse
fn default() -> SearchResponse
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for SearchResponse
impl<'de> Deserialize<'de> for SearchResponse
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq for SearchResponse
impl PartialEq for SearchResponse
source§fn eq(&self, other: &SearchResponse) -> bool
fn eq(&self, other: &SearchResponse) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for SearchResponse
impl Serialize for SearchResponse
impl StructuralPartialEq for SearchResponse
Auto Trait Implementations§
impl RefUnwindSafe for SearchResponse
impl Send for SearchResponse
impl Sync for SearchResponse
impl Unpin for SearchResponse
impl UnwindSafe for SearchResponse
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more