pub struct SearchPostsV2<S: BosStr = DefaultStr> {Show 29 fields
pub all_time: Option<bool>,
pub authors: Option<Vec<AtIdentifier<S>>>,
pub cursor: Option<S>,
pub domains: Option<Vec<S>>,
pub embedded_at_uris: Option<Vec<AtUri<S>>>,
pub exclude_authors: Option<Vec<AtIdentifier<S>>>,
pub exclude_domains: Option<Vec<S>>,
pub exclude_embedded_at_uris: Option<Vec<AtUri<S>>>,
pub exclude_hashtags: Option<Vec<S>>,
pub exclude_languages: Option<Vec<Language>>,
pub exclude_mentions: Option<Vec<AtIdentifier<S>>>,
pub exclude_replies: Option<bool>,
pub exclude_urls: Option<Vec<UriValue<S>>>,
pub following: Option<bool>,
pub has_media: Option<bool>,
pub has_video: Option<bool>,
pub hashtags: Option<Vec<S>>,
pub languages: Option<Vec<Language>>,
pub limit: Option<i64>,
pub mentions: Option<Vec<AtIdentifier<S>>>,
pub query: Option<S>,
pub query_language: Option<S>,
pub replies_only: Option<bool>,
pub reply_parent_uri: Option<AtUri<S>>,
pub since: Option<S>,
pub sort: Option<S>,
pub thread_root_uri: Option<AtUri<S>>,
pub until: Option<S>,
pub urls: Option<Vec<UriValue<S>>>,
}Fields§
§all_time: Option<bool>§cursor: Option<S>§domains: Option<Vec<S>>§embedded_at_uris: Option<Vec<AtUri<S>>>§exclude_domains: Option<Vec<S>>§exclude_embedded_at_uris: Option<Vec<AtUri<S>>>§exclude_languages: Option<Vec<Language>>§exclude_mentions: Option<Vec<AtIdentifier<S>>>§exclude_replies: Option<bool>§exclude_urls: Option<Vec<UriValue<S>>>§following: Option<bool>§has_media: Option<bool>§has_video: Option<bool>§languages: Option<Vec<Language>>§limit: Option<i64>Defaults to 25. Min: 1. Max: 100.
mentions: Option<Vec<AtIdentifier<S>>>§query: Option<S>§query_language: Option<S>§replies_only: Option<bool>§reply_parent_uri: Option<AtUri<S>>§since: Option<S>§sort: Option<S>§thread_root_uri: Option<AtUri<S>>§until: Option<S>§urls: Option<Vec<UriValue<S>>>Implementations§
Source§impl SearchPostsV2<DefaultStr>
impl SearchPostsV2<DefaultStr>
Sourcepub fn new() -> SearchPostsV2Builder<Empty, DefaultStr>
pub fn new() -> SearchPostsV2Builder<Empty, DefaultStr>
Create a new builder for this type, using the default string type (DefaultStr = SmolStr) if needed
Source§impl<S: BosStr> SearchPostsV2<S>
impl<S: BosStr> SearchPostsV2<S>
Sourcepub fn builder() -> SearchPostsV2Builder<Empty, S>
pub fn builder() -> SearchPostsV2Builder<Empty, S>
Create a new builder for this type
Trait Implementations§
Source§impl<S: Clone + BosStr> Clone for SearchPostsV2<S>
impl<S: Clone + BosStr> Clone for SearchPostsV2<S>
Source§fn clone(&self) -> SearchPostsV2<S>
fn clone(&self) -> SearchPostsV2<S>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'de, S> Deserialize<'de> for SearchPostsV2<S>where
S: Deserialize<'de> + BosStr,
impl<'de, S> Deserialize<'de> for SearchPostsV2<S>where
S: Deserialize<'de> + BosStr,
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
impl<S: Eq + BosStr> Eq for SearchPostsV2<S>
Source§impl<S: BosStr + IntoStatic> IntoStatic for SearchPostsV2<S>
impl<S: BosStr + IntoStatic> IntoStatic for SearchPostsV2<S>
Source§type Output = SearchPostsV2<<S as IntoStatic>::Output>
type Output = SearchPostsV2<<S as IntoStatic>::Output>
The “owned” variant of the type. For
Cow<'a, str>, this is Cow<'static, str>, for example.Source§fn into_static(self) -> Self::Output
fn into_static(self) -> Self::Output
Turns the value into an “owned” variant, which can then be returned, moved, etc. Read more
Source§impl<S: PartialEq + BosStr> PartialEq for SearchPostsV2<S>
impl<S: PartialEq + BosStr> PartialEq for SearchPostsV2<S>
Source§fn eq(&self, other: &SearchPostsV2<S>) -> bool
fn eq(&self, other: &SearchPostsV2<S>) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl<S> Serialize for SearchPostsV2<S>
impl<S> Serialize for SearchPostsV2<S>
impl<S: PartialEq + BosStr> StructuralPartialEq for SearchPostsV2<S>
Source§impl<S: BosStr> XrpcRequest for SearchPostsV2<S>
impl<S: BosStr> XrpcRequest for SearchPostsV2<S>
Source§const METHOD: XrpcMethod = jacquard_common::xrpc::XrpcMethod::Query
const METHOD: XrpcMethod = jacquard_common::xrpc::XrpcMethod::Query
XRPC method (query/GET or procedure/POST)
Source§type Response = SearchPostsV2Response
type Response = SearchPostsV2Response
Response type returned from the XRPC call (marker struct)
Source§fn encode_body(&self, buffer: &mut Vec<u8>) -> Result<(), EncodeError>where
Self: Serialize,
fn encode_body(&self, buffer: &mut Vec<u8>) -> Result<(), EncodeError>where
Self: Serialize,
Encode the request body for procedures. Read more
Source§fn decode_body<'de>(body: &'de [u8]) -> Result<Self, DecodeError>where
Self: Deserialize<'de>,
fn decode_body<'de>(body: &'de [u8]) -> Result<Self, DecodeError>where
Self: Deserialize<'de>,
Decode the request body for procedures. Read more
Auto Trait Implementations§
impl<S> Freeze for SearchPostsV2<S>where
S: Freeze,
impl<S> RefUnwindSafe for SearchPostsV2<S>where
S: RefUnwindSafe,
impl<S> Send for SearchPostsV2<S>where
S: Send,
impl<S> Sync for SearchPostsV2<S>where
S: Sync,
impl<S> Unpin for SearchPostsV2<S>where
S: Unpin,
impl<S> UnsafeUnpin for SearchPostsV2<S>where
S: UnsafeUnpin,
impl<S> UnwindSafe for SearchPostsV2<S>where
S: UnwindSafe,
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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
Compare self to
key and return true if they are equal.