pub struct PubSubCommentBase {Show 40 fields
pub _id: String,
pub tenant_id: String,
pub user_id: Option<Option<String>>,
pub url_id: String,
pub commenter_name: String,
pub commenter_link: Option<Option<String>>,
pub comment_html: String,
pub comment: String,
pub parent_id: Option<Option<String>>,
pub votes: Option<Option<i32>>,
pub votes_up: Option<Option<i32>>,
pub votes_down: Option<Option<i32>>,
pub verified: bool,
pub avatar_src: Option<Option<String>>,
pub has_images: Option<bool>,
pub has_links: Option<bool>,
pub is_by_admin: Option<bool>,
pub is_by_moderator: Option<bool>,
pub is_pinned: Option<Option<bool>>,
pub is_locked: Option<Option<bool>>,
pub display_label: Option<Option<String>>,
pub rating: Option<Option<f64>>,
pub badges: Option<Option<Vec<CommentUserBadgeInfo>>>,
pub view_count: Option<Option<i64>>,
pub is_deleted: Option<bool>,
pub is_deleted_user: Option<bool>,
pub is_spam: Option<bool>,
pub anon_user_id: Option<Option<String>>,
pub feedback_ids: Option<Vec<String>>,
pub flag_count: Option<Option<i32>>,
pub domain: Option<Option<String>>,
pub url: String,
pub page_title: Option<Option<String>>,
pub expire_at: Option<Option<String>>,
pub reviewed: Option<bool>,
pub has_code: Option<bool>,
pub approved: bool,
pub locale: Option<String>,
pub is_banned_user: Option<bool>,
pub group_ids: Option<Option<Vec<String>>>,
}Fields§
§_id: String§tenant_id: String§user_id: Option<Option<String>>§url_id: String§commenter_name: String§commenter_link: Option<Option<String>>§comment_html: String§comment: String§parent_id: Option<Option<String>>§votes: Option<Option<i32>>§votes_up: Option<Option<i32>>§votes_down: Option<Option<i32>>§verified: bool§avatar_src: Option<Option<String>>§has_images: Option<bool>§has_links: Option<bool>§is_by_admin: Option<bool>§is_by_moderator: Option<bool>§is_pinned: Option<Option<bool>>§is_locked: Option<Option<bool>>§display_label: Option<Option<String>>§rating: Option<Option<f64>>§badges: Option<Option<Vec<CommentUserBadgeInfo>>>§view_count: Option<Option<i64>>§is_deleted: Option<bool>§is_deleted_user: Option<bool>§is_spam: Option<bool>§anon_user_id: Option<Option<String>>§feedback_ids: Option<Vec<String>>§flag_count: Option<Option<i32>>§domain: Option<Option<String>>§url: String§page_title: Option<Option<String>>§expire_at: Option<Option<String>>§reviewed: Option<bool>§has_code: Option<bool>§approved: bool§locale: Option<String>§is_banned_user: Option<bool>§group_ids: Option<Option<Vec<String>>>Implementations§
Trait Implementations§
Source§impl Clone for PubSubCommentBase
impl Clone for PubSubCommentBase
Source§fn clone(&self) -> PubSubCommentBase
fn clone(&self) -> PubSubCommentBase
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 PubSubCommentBase
impl Debug for PubSubCommentBase
Source§impl Default for PubSubCommentBase
impl Default for PubSubCommentBase
Source§fn default() -> PubSubCommentBase
fn default() -> PubSubCommentBase
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PubSubCommentBase
impl<'de> Deserialize<'de> for PubSubCommentBase
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 PubSubCommentBase
impl PartialEq for PubSubCommentBase
Source§impl Serialize for PubSubCommentBase
impl Serialize for PubSubCommentBase
impl StructuralPartialEq for PubSubCommentBase
Auto Trait Implementations§
impl Freeze for PubSubCommentBase
impl RefUnwindSafe for PubSubCommentBase
impl Send for PubSubCommentBase
impl Sync for PubSubCommentBase
impl Unpin for PubSubCommentBase
impl UnwindSafe for PubSubCommentBase
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