pub struct ListPostsResponse {
pub content_digest: Box<str>,
pub site_digest: Box<str>,
pub site_version: u64,
pub posts: Vec<PostSummary>,
pub next_cursor: Option<Uuid>,
}Expand description
One cursor-paginated page of posts from an immutable site revision.
Fields§
§content_digest: Box<str>§site_digest: Box<str>§site_version: u64§posts: Vec<PostSummary>§next_cursor: Option<Uuid>Trait Implementations§
Source§impl Clone for ListPostsResponse
impl Clone for ListPostsResponse
Source§impl Debug for ListPostsResponse
impl Debug for ListPostsResponse
Source§impl<'de> Deserialize<'de> for ListPostsResponse
impl<'de> Deserialize<'de> for ListPostsResponse
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 Eq for ListPostsResponse
Source§impl PartialEq for ListPostsResponse
impl PartialEq for ListPostsResponse
Source§impl Serialize for ListPostsResponse
impl Serialize for ListPostsResponse
impl StructuralPartialEq for ListPostsResponse
Auto Trait Implementations§
impl Freeze for ListPostsResponse
impl RefUnwindSafe for ListPostsResponse
impl Send for ListPostsResponse
impl Sync for ListPostsResponse
impl Unpin for ListPostsResponse
impl UnsafeUnpin for ListPostsResponse
impl UnwindSafe for ListPostsResponse
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