pub enum ResultType {
Recent,
Popular,
Mixed,
}Expand description
Represents what kind of tweets should be included in search results.
Variants§
Recent
Return only the most recent tweets in the response.
Popular
Return only the most popular tweets in the response.
Mixed
Include both popular and real-time results in the response.
Trait Implementations§
Source§impl Clone for ResultType
impl Clone for ResultType
Source§fn clone(&self) -> ResultType
fn clone(&self) -> ResultType
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 ResultType
impl Debug for ResultType
Source§impl Display for ResultType
Display impl that turns the variants into strings that can be used as search parameters.
impl Display for ResultType
Display impl that turns the variants into strings that can be used as search parameters.
impl Copy for ResultType
Auto Trait Implementations§
impl Freeze for ResultType
impl RefUnwindSafe for ResultType
impl Send for ResultType
impl Sync for ResultType
impl Unpin for ResultType
impl UnwindSafe for ResultType
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