pub struct CommentData {Show 24 fields
pub date: Option<i64>,
pub local_date_string: Option<String>,
pub local_date_hours: Option<i32>,
pub commenter_name: String,
pub commenter_email: Option<Option<String>>,
pub commenter_link: Option<Option<String>>,
pub comment: String,
pub product_id: Option<i32>,
pub user_id: Option<Option<String>>,
pub avatar_src: Option<Option<String>>,
pub parent_id: Option<Option<String>>,
pub mentions: Option<Vec<CommentUserMentionInfo>>,
pub hash_tags: Option<Vec<CommentUserHashTagInfo>>,
pub page_title: Option<String>,
pub is_from_my_account_page: Option<bool>,
pub url: String,
pub url_id: String,
pub meta: Option<Value>,
pub moderation_group_ids: Option<Vec<String>>,
pub rating: Option<f64>,
pub from_offline_restore: Option<bool>,
pub autoplay_delay_ms: Option<i64>,
pub feedback_ids: Option<Vec<String>>,
pub question_values: Option<HashMap<String, RecordStringStringOrNumberValue>>,
}Fields§
§date: Option<i64>§local_date_string: Option<String>§local_date_hours: Option<i32>§commenter_name: String§commenter_email: Option<Option<String>>§commenter_link: Option<Option<String>>§comment: String§product_id: Option<i32>§user_id: Option<Option<String>>§avatar_src: Option<Option<String>>§parent_id: Option<Option<String>>§mentions: Option<Vec<CommentUserMentionInfo>>§page_title: Option<String>§is_from_my_account_page: Option<bool>§url: String§url_id: String§meta: Option<Value>§moderation_group_ids: Option<Vec<String>>§rating: Option<f64>§from_offline_restore: Option<bool>§autoplay_delay_ms: Option<i64>§feedback_ids: Option<Vec<String>>§question_values: Option<HashMap<String, RecordStringStringOrNumberValue>>Construct a type with a set of properties K of type T
Implementations§
Source§impl CommentData
impl CommentData
Trait Implementations§
Source§impl Clone for CommentData
impl Clone for CommentData
Source§fn clone(&self) -> CommentData
fn clone(&self) -> CommentData
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 CommentData
impl Debug for CommentData
Source§impl Default for CommentData
impl Default for CommentData
Source§fn default() -> CommentData
fn default() -> CommentData
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CommentData
impl<'de> Deserialize<'de> for CommentData
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 CommentData
impl PartialEq for CommentData
Source§impl Serialize for CommentData
impl Serialize for CommentData
impl StructuralPartialEq for CommentData
Auto Trait Implementations§
impl Freeze for CommentData
impl RefUnwindSafe for CommentData
impl Send for CommentData
impl Sync for CommentData
impl Unpin for CommentData
impl UnwindSafe for CommentData
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