Struct lemmy_api_common::comment::GetComments
source · pub struct GetComments {
pub type_: Option<ListingType>,
pub sort: Option<CommentSortType>,
pub max_depth: Option<i32>,
pub page: Option<i64>,
pub limit: Option<i64>,
pub community_id: Option<CommunityId>,
pub community_name: Option<String>,
pub post_id: Option<PostId>,
pub parent_id: Option<CommentId>,
pub saved_only: Option<bool>,
pub auth: Option<Sensitive<String>>,
}
Fields§
§type_: Option<ListingType>
§sort: Option<CommentSortType>
§max_depth: Option<i32>
§page: Option<i64>
§limit: Option<i64>
§community_id: Option<CommunityId>
§community_name: Option<String>
§post_id: Option<PostId>
§parent_id: Option<CommentId>
§saved_only: Option<bool>
§auth: Option<Sensitive<String>>
Trait Implementations§
source§impl Clone for GetComments
impl Clone for GetComments
source§fn clone(&self) -> GetComments
fn clone(&self) -> GetComments
Returns a copy 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 GetComments
impl Debug for GetComments
source§impl Default for GetComments
impl Default for GetComments
source§fn default() -> GetComments
fn default() -> GetComments
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for GetComments
impl<'de> Deserialize<'de> for GetComments
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