Struct egg_mode::search::SearchResult [−][src]
pub struct SearchResult { pub statuses: Vec<Tweet>, pub query: String, pub max_id: u64, pub since_id: u64, // some fields omitted }
Expand description
Represents a page of search results, along with metadata to request the next or previous page.
Fields
statuses: Vec<Tweet>
The list of statuses in this page of results.
query: String
The query used to generate this page of results. Note that changing this will not affect the
next_page
method.
max_id: u64
Last tweet id in this page of results. This id can be used in SearchBuilder::since_tweet
since_id: u64
First tweet id in this page of results. This id can be used in SearchBuilder::since_tweet
Implementations
Trait Implementations
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for SearchResult
impl Send for SearchResult
impl Sync for SearchResult
impl Unpin for SearchResult
impl UnwindSafe for SearchResult