[−][src]Struct egg_mode::search::SearchResult
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
impl SearchResult
[src]
pub async fn older<'_, '_>(
&'_ self,
token: &'_ Token
) -> Result<Response<SearchResult>, Error>
[src]
&'_ self,
token: &'_ Token
) -> Result<Response<SearchResult>, Error>
Load the next page of search results for the same query.
pub async fn newer<'_, '_>(
&'_ self,
token: &'_ Token
) -> Result<Response<SearchResult>, Error>
[src]
&'_ self,
token: &'_ Token
) -> Result<Response<SearchResult>, Error>
Load the previous page of search results for the same query.
Trait Implementations
impl Debug for SearchResult
[src]
impl<'de> Deserialize<'de> for SearchResult
[src]
fn deserialize<D>(deser: D) -> Result<SearchResult, D::Error> where
D: Deserializer<'de>,
[src]
D: Deserializer<'de>,
Auto Trait Implementations
impl RefUnwindSafe for SearchResult
impl Send for SearchResult
impl Sync for SearchResult
impl Unpin for SearchResult
impl UnwindSafe for SearchResult
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,