pub trait CommentTrait {
    // Required methods
    fn get_downvote_count(&self) -> &[DownvoteCountProperty];
    fn take_downvote_count(&mut self) -> Vec<DownvoteCountProperty>;
    fn get_parent_item(&self) -> &[ParentItemProperty];
    fn take_parent_item(&mut self) -> Vec<ParentItemProperty>;
    fn get_shared_content(&self) -> &[SharedContentProperty];
    fn take_shared_content(&mut self) -> Vec<SharedContentProperty>;
    fn get_upvote_count(&self) -> &[UpvoteCountProperty];
    fn take_upvote_count(&mut self) -> Vec<UpvoteCountProperty>;
}
Expand description

This trait is for properties from https://schema.org/Comment.

Required Methods§

Implementors§