pub struct CommentThread {
pub comments: Vec<Comment>,
}Expand description
A collection of comments organized by thread.
Fields§
§comments: Vec<Comment>All comments in the thread.
Implementations§
Source§impl CommentThread
impl CommentThread
Sourcepub fn unresolved(&self) -> Vec<&Comment>
pub fn unresolved(&self) -> Vec<&Comment>
Get all unresolved comments.
Trait Implementations§
Source§impl Clone for CommentThread
impl Clone for CommentThread
Source§fn clone(&self) -> CommentThread
fn clone(&self) -> CommentThread
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 CommentThread
impl Debug for CommentThread
Source§impl Default for CommentThread
impl Default for CommentThread
Source§fn default() -> CommentThread
fn default() -> CommentThread
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CommentThread
impl<'de> Deserialize<'de> for CommentThread
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 CommentThread
impl PartialEq for CommentThread
Source§impl Serialize for CommentThread
impl Serialize for CommentThread
impl StructuralPartialEq for CommentThread
Auto Trait Implementations§
impl Freeze for CommentThread
impl RefUnwindSafe for CommentThread
impl Send for CommentThread
impl Sync for CommentThread
impl Unpin for CommentThread
impl UnsafeUnpin for CommentThread
impl UnwindSafe for CommentThread
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