pub struct ParametersData {
pub author: Option<AtIdentifier>,
pub cursor: Option<String>,
pub domain: Option<String>,
pub lang: Option<Language>,
pub limit: Option<LimitedNonZeroU8<100u8>>,
pub mentions: Option<AtIdentifier>,
pub q: String,
pub since: Option<String>,
pub sort: Option<String>,
pub tag: Option<Vec<String>>,
pub until: Option<String>,
pub url: Option<String>,
}
namespace-appbsky
only.Fields§
Filter to posts by the given account. Handles are resolved to DID before query-time.
cursor: Option<String>
Optional pagination mechanism; may not necessarily allow scrolling through entire result set.
domain: Option<String>
Filter to posts with URLs (facet links or embeds) linking to the given domain (hostname). Server may apply hostname normalization.
lang: Option<Language>
Filter to posts in the given language. Expected to be based on post language field, though server may override language detection.
limit: Option<LimitedNonZeroU8<100u8>>
§mentions: Option<AtIdentifier>
Filter to posts which mention the given account. Handles are resolved to DID before query-time. Only matches rich-text facet mentions.
q: String
Search query string; syntax, phrase, boolean, and faceting is unspecified, but Lucene query syntax is recommended.
since: Option<String>
Filter results for posts after the indicated datetime (inclusive). Expected to use ‘sortAt’ timestamp, which may not match ‘createdAt’. Can be a datetime, or just an ISO date (YYYY-MM-DD).
sort: Option<String>
Specifies the ranking order of results.
tag: Option<Vec<String>>
Filter to posts with the given tag (hashtag), based on rich-text facet or tag field. Do not include the hash (#) prefix. Multiple tags can be specified, with ‘AND’ matching.
until: Option<String>
Filter results for posts before the indicated datetime (not inclusive). Expected to use ‘sortAt’ timestamp, which may not match ‘createdAt’. Can be a datetime, or just an ISO date (YYY-MM-DD).
url: Option<String>
Filter to posts with links (facet links or embeds) pointing to this URL. Server may apply URL normalization or fuzzy matching.
Trait Implementations§
Source§impl Clone for ParametersData
impl Clone for ParametersData
Source§fn clone(&self) -> ParametersData
fn clone(&self) -> ParametersData
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for ParametersData
impl Debug for ParametersData
Source§impl<'de> Deserialize<'de> for ParametersData
impl<'de> Deserialize<'de> for ParametersData
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>,
Source§impl PartialEq for ParametersData
impl PartialEq for ParametersData
Source§impl Serialize for ParametersData
impl Serialize for ParametersData
impl Eq for ParametersData
impl StructuralPartialEq for ParametersData
Auto Trait Implementations§
impl Freeze for ParametersData
impl RefUnwindSafe for ParametersData
impl Send for ParametersData
impl Sync for ParametersData
impl Unpin for ParametersData
impl UnwindSafe for ParametersData
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key
and return true
if they are equal.