pub struct SearchResults {
pub users: Option<Vec<User>>,
pub topics: Option<Vec<Topic>>,
pub posts: Option<Vec<Post>>,
pub total_found: i32,
}Fields§
§users: Option<Vec<User>>§topics: Option<Vec<Topic>>§posts: Option<Vec<Post>>§total_found: i32Trait Implementations§
Source§impl Clone for SearchResults
impl Clone for SearchResults
Source§fn clone(&self) -> SearchResults
fn clone(&self) -> SearchResults
Returns a duplicate 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 SearchResults
impl Debug for SearchResults
Source§impl TryFrom<SearchResponse> for SearchResults
impl TryFrom<SearchResponse> for SearchResults
Auto Trait Implementations§
impl Freeze for SearchResults
impl RefUnwindSafe for SearchResults
impl Send for SearchResults
impl Sync for SearchResults
impl Unpin for SearchResults
impl UnwindSafe for SearchResults
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