pub struct ForumPosts {
pub cursor: Option<String>,
pub posts: Vec<ForumPost>,
pub search: ForumPostsSearch,
pub topic: ForumTopic,
}Fields§
§cursor: Option<String>§posts: Vec<ForumPost>§search: ForumPostsSearch§topic: ForumTopicImplementations§
Source§impl ForumPosts
impl ForumPosts
Sourcepub const fn has_more(&self) -> bool
pub const fn has_more(&self) -> bool
Checks whether the cursor field is Some which in turn
can be used to retrieve the next set of posts.
The next set can then be retrieved by providing this cursor to
GetForumPosts::cursor.
Be sure all other parameters stay the same.
Trait Implementations§
Source§impl Clone for ForumPosts
impl Clone for ForumPosts
Source§fn clone(&self) -> ForumPosts
fn clone(&self) -> ForumPosts
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ForumPosts
impl Debug for ForumPosts
Source§impl<'de> Deserialize<'de> for ForumPosts
impl<'de> Deserialize<'de> for ForumPosts
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
Source§impl PartialEq for ForumPosts
impl PartialEq for ForumPosts
Source§impl Serialize for ForumPosts
impl Serialize for ForumPosts
impl Eq for ForumPosts
impl StructuralPartialEq for ForumPosts
Auto Trait Implementations§
impl Freeze for ForumPosts
impl RefUnwindSafe for ForumPosts
impl Send for ForumPosts
impl Sync for ForumPosts
impl Unpin for ForumPosts
impl UnwindSafe for ForumPosts
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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.