Struct scoopit_api::types::SearchResults
source · 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
sourceimpl Clone for SearchResults
impl Clone for SearchResults
sourcefn clone(&self) -> SearchResults
fn clone(&self) -> SearchResults
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 moresourceimpl Debug for SearchResults
impl Debug for SearchResults
sourceimpl TryFrom<SearchResponse> for SearchResults
impl TryFrom<SearchResponse> for SearchResults
Auto Trait Implementations
impl RefUnwindSafe for SearchResults
impl Send for SearchResults
impl Sync for SearchResults
impl Unpin for SearchResults
impl UnwindSafe for SearchResults
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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