Struct backend::models::content::ListPage [−][src]
pub struct ListPage {
pub post_page: Vec<PostDisplay>,
pub page: usize,
}Expand description
Post general information for one page
Fields
ListPage::post_page: Post general information vector of the posts, with the length up to tenListPage::page: Page number of the list
Fields
post_page: Vec<PostDisplay>page: usizeTrait 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
Auto Trait Implementations
impl RefUnwindSafe for ListPage
impl UnwindSafe for ListPage
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