pub struct GetCommentsResponsePublicComment {Show 24 fields
pub status_code: Option<i32>,
pub status: String,
pub code: Option<String>,
pub reason: Option<String>,
pub translated_warning: Option<String>,
pub comments: Vec<PublicComment>,
pub user: Option<Box<UserSessionInfo>>,
pub url_id_clean: Option<String>,
pub last_gen_date: Option<Option<i64>>,
pub includes_past_pages: Option<bool>,
pub is_demo: Option<bool>,
pub comment_count: Option<i32>,
pub is_site_admin: Option<bool>,
pub has_billing_issue: Option<bool>,
pub module_data: Option<HashMap<String, Value>>,
pub page_number: i32,
pub is_white_labeled: Option<bool>,
pub is_prod: Option<bool>,
pub is_crawler: Option<bool>,
pub notification_count: Option<i32>,
pub has_more: Option<bool>,
pub is_closed: Option<bool>,
pub presence_poll_state: Option<i32>,
pub custom_config: Option<Box<CustomConfigParameters>>,
}Fields§
§status_code: Option<i32>§status: String§code: Option<String>§reason: Option<String>§translated_warning: Option<String>§comments: Vec<PublicComment>§user: Option<Box<UserSessionInfo>>§url_id_clean: Option<String>§last_gen_date: Option<Option<i64>>§includes_past_pages: Option<bool>§is_demo: Option<bool>§comment_count: Option<i32>§is_site_admin: Option<bool>§has_billing_issue: Option<bool>§module_data: Option<HashMap<String, Value>>Construct a type with a set of properties K of type T
page_number: i32§is_white_labeled: Option<bool>§is_prod: Option<bool>§is_crawler: Option<bool>§notification_count: Option<i32>§has_more: Option<bool>§is_closed: Option<bool>§presence_poll_state: Option<i32>§custom_config: Option<Box<CustomConfigParameters>>Implementations§
Source§impl GetCommentsResponsePublicComment
impl GetCommentsResponsePublicComment
pub fn new( status: String, comments: Vec<PublicComment>, user: Option<UserSessionInfo>, page_number: i32, ) -> GetCommentsResponsePublicComment
Trait Implementations§
Source§impl Clone for GetCommentsResponsePublicComment
impl Clone for GetCommentsResponsePublicComment
Source§fn clone(&self) -> GetCommentsResponsePublicComment
fn clone(&self) -> GetCommentsResponsePublicComment
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 Default for GetCommentsResponsePublicComment
impl Default for GetCommentsResponsePublicComment
Source§fn default() -> GetCommentsResponsePublicComment
fn default() -> GetCommentsResponsePublicComment
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for GetCommentsResponsePublicComment
impl<'de> Deserialize<'de> for GetCommentsResponsePublicComment
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 GetCommentsResponsePublicComment
impl PartialEq for GetCommentsResponsePublicComment
Source§fn eq(&self, other: &GetCommentsResponsePublicComment) -> bool
fn eq(&self, other: &GetCommentsResponsePublicComment) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for GetCommentsResponsePublicComment
Auto Trait Implementations§
impl Freeze for GetCommentsResponsePublicComment
impl RefUnwindSafe for GetCommentsResponsePublicComment
impl Send for GetCommentsResponsePublicComment
impl Sync for GetCommentsResponsePublicComment
impl Unpin for GetCommentsResponsePublicComment
impl UnwindSafe for GetCommentsResponsePublicComment
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