pub struct SearchTweetsParams {
pub query: String,
pub max_results: Option<u32>,
pub tweet_fields: Option<Vec<String>>,
pub user_fields: Option<Vec<String>>,
pub expansions: Option<Vec<String>>,
}
Expand description
Search tweets request parameters
Fields§
§query: String
§max_results: Option<u32>
§tweet_fields: Option<Vec<String>>
§user_fields: Option<Vec<String>>
§expansions: Option<Vec<String>>
Trait Implementations§
Source§impl Clone for SearchTweetsParams
impl Clone for SearchTweetsParams
Source§fn clone(&self) -> SearchTweetsParams
fn clone(&self) -> SearchTweetsParams
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 SearchTweetsParams
impl Debug for SearchTweetsParams
Source§impl<'de> Deserialize<'de> for SearchTweetsParams
impl<'de> Deserialize<'de> for SearchTweetsParams
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for SearchTweetsParams
impl RefUnwindSafe for SearchTweetsParams
impl Send for SearchTweetsParams
impl Sync for SearchTweetsParams
impl Unpin for SearchTweetsParams
impl UnwindSafe for SearchTweetsParams
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