pub struct SearchCommand;Expand description
Search command handler
Implementations§
Source§impl SearchCommand
impl SearchCommand
pub fn new() -> Self
Sourcepub fn search_recent(
&self,
args: SearchRecentArgs,
) -> Result<SearchRecentResult>
pub fn search_recent( &self, args: SearchRecentArgs, ) -> Result<SearchRecentResult>
Search recent tweets matching the query
Sourcepub fn search_users(&self, args: SearchUsersArgs) -> Result<SearchUsersResult>
pub fn search_users(&self, args: SearchUsersArgs) -> Result<SearchUsersResult>
Search users matching the query
Trait Implementations§
Auto Trait Implementations§
impl Freeze for SearchCommand
impl RefUnwindSafe for SearchCommand
impl Send for SearchCommand
impl Sync for SearchCommand
impl Unpin for SearchCommand
impl UnsafeUnpin for SearchCommand
impl UnwindSafe for SearchCommand
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