Struct backend::models::search::SearchPostResponse [−][src]
pub struct SearchPostResponse {
pub found: i32,
pub page: usize,
pub posts: Vec<PulsarSearchPostData>,
}
Expand description
Response struct for post search
Fields
found
: Number of found in i32page
: Page index of resultburrows
: Vector of search result in struct PulsarSearchPostData
Fields
found: i32
page: usize
posts: Vec<PulsarSearchPostData>
Trait Implementations
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
Performs the conversion.
Performs the conversion.
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for SearchPostResponse
impl Send for SearchPostResponse
impl Sync for SearchPostResponse
impl Unpin for SearchPostResponse
impl UnwindSafe for SearchPostResponse
Blanket Implementations
Mutably borrows from an owned value. Read more
pub fn into_collection<A>(self) -> SmallVec<A> where
A: Array<Item = T>,
pub fn into_collection<A>(self) -> SmallVec<A> where
A: Array<Item = T>,
Converts self
into a collection.
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more