pub struct CommentChildren {Show 27 fields
pub url: String,
pub id: i32,
pub author: Option<i32>,
pub author_name: Option<String>,
pub author_lvl: Option<Value>,
pub author_supporter_lvl: i32,
pub is_deactivated: bool,
pub is_moderator: bool,
pub is_admin: bool,
pub question: String,
pub comment_html: String,
pub comment_text: String,
pub created_time: String,
pub prediction_value: Option<HashMap<String, Value>>,
pub submit_type: Option<SubmitTypeEnum>,
pub preview: Option<bool>,
pub parent: Option<Option<i32>>,
pub num_children: i32,
pub num_likes: Option<i32>,
pub deleted: bool,
pub parent_author: Option<String>,
pub user_like: i32,
pub user_like_at: String,
pub latest_prediction: Option<Option<HashMap<String, Value>>>,
pub include_latest_prediction: Option<bool>,
pub edits: HashMap<String, Value>,
pub children: Box<Comment>,
}Fields§
§url: String§id: i32§is_deactivated: bool§is_moderator: bool§is_admin: bool§question: String§comment_html: String§comment_text: String§created_time: String§prediction_value: Option<HashMap<String, Value>>§submit_type: Option<SubmitTypeEnum>§preview: Option<bool>§parent: Option<Option<i32>>§num_children: i32§num_likes: Option<i32>§deleted: bool§user_like: i32§user_like_at: String§latest_prediction: Option<Option<HashMap<String, Value>>>§include_latest_prediction: Option<bool>§edits: HashMap<String, Value>§children: Box<Comment>Implementations§
Source§impl CommentChildren
impl CommentChildren
pub fn new( url: String, id: i32, author: Option<i32>, author_name: Option<String>, author_lvl: Option<Value>, author_supporter_lvl: i32, is_deactivated: bool, is_moderator: bool, is_admin: bool, question: String, comment_html: String, comment_text: String, created_time: String, prediction_value: Option<HashMap<String, Value>>, num_children: i32, num_likes: Option<i32>, deleted: bool, parent_author: Option<String>, user_like: i32, user_like_at: String, edits: HashMap<String, Value>, children: Comment, ) -> CommentChildren
Trait Implementations§
Source§impl Clone for CommentChildren
impl Clone for CommentChildren
Source§fn clone(&self) -> CommentChildren
fn clone(&self) -> CommentChildren
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 CommentChildren
impl Debug for CommentChildren
Source§impl<'de> Deserialize<'de> for CommentChildren
impl<'de> Deserialize<'de> for CommentChildren
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 CommentChildren
impl PartialEq for CommentChildren
Source§impl Serialize for CommentChildren
impl Serialize for CommentChildren
impl StructuralPartialEq for CommentChildren
Auto Trait Implementations§
impl Freeze for CommentChildren
impl RefUnwindSafe for CommentChildren
impl Send for CommentChildren
impl Sync for CommentChildren
impl Unpin for CommentChildren
impl UnwindSafe for CommentChildren
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