pub struct SearchMetadata {
pub result_count: u32,
pub query: String,
pub next_token: Option<String>,
pub searched_at: DateTime<Utc>,
}Expand description
Metadata for Twitter search results
Fields§
§result_count: u32Total number of tweets found
query: StringSearch query used
next_token: Option<String>Token for pagination to fetch next set of results
searched_at: DateTime<Utc>Search timestamp
Trait Implementations§
Source§impl Clone for SearchMetadata
impl Clone for SearchMetadata
Source§fn clone(&self) -> SearchMetadata
fn clone(&self) -> SearchMetadata
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 SearchMetadata
impl Debug for SearchMetadata
Source§impl<'de> Deserialize<'de> for SearchMetadata
impl<'de> Deserialize<'de> for SearchMetadata
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
Source§impl JsonSchema for SearchMetadata
impl JsonSchema for SearchMetadata
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreAuto Trait Implementations§
impl Freeze for SearchMetadata
impl RefUnwindSafe for SearchMetadata
impl Send for SearchMetadata
impl Sync for SearchMetadata
impl Unpin for SearchMetadata
impl UnwindSafe for SearchMetadata
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