Struct rpa_macros::database::search::search_response::SearchResponse [−][src]
pub struct SearchResponse<T> { pub results: Vec<T>, pub total_pages: Option<i64>, pub page_size: Option<i64>, pub page: Option<i64>, }
Fields
results: Vec<T>
total_pages: Option<i64>
page_size: Option<i64>
page: Option<i64>
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl<T> RefUnwindSafe for SearchResponse<T> where
T: RefUnwindSafe,
impl<T> Send for SearchResponse<T> where
T: Send,
impl<T> Sync for SearchResponse<T> where
T: Sync,
impl<T> Unpin for SearchResponse<T> where
T: Unpin,
impl<T> UnwindSafe for SearchResponse<T> where
T: UnwindSafe,
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.
Convert self
to an expression for Diesel’s query builder. Read more
fn as_sql<'a, T>(&'a self) -> <&'a Self as AsExpression<T>>::Expression where
&'a Self: AsExpression<T>,
[src]
fn as_sql<'a, T>(&'a self) -> <&'a Self as AsExpression<T>>::Expression where
&'a Self: AsExpression<T>,
[src]Convert &self
to an expression for Diesel’s query builder. Read more
type Output = T
type Output = T
Should always be Self
pub fn vzip(self) -> V