pub struct Comment {
pub id: i64,
pub activity_id: i64,
pub post_id: Option<i64>,
pub resource_state: i32,
pub text: String,
pub mentions_metadata: Option<String>,
pub created_at: String,
pub athlete: SummaryAthlete,
pub cursor: Option<String>,
pub reaction_count: i32,
pub has_reacted: bool,
}Fields§
§id: i64§activity_id: i64§post_id: Option<i64>§resource_state: i32§text: String§mentions_metadata: Option<String>§created_at: String§athlete: SummaryAthlete§cursor: Option<String>§reaction_count: i32§has_reacted: boolTrait Implementations§
Source§impl<'de> Deserialize<'de> for Comment
impl<'de> Deserialize<'de> for Comment
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
impl StructuralPartialEq for Comment
Auto Trait Implementations§
impl Freeze for Comment
impl RefUnwindSafe for Comment
impl Send for Comment
impl Sync for Comment
impl Unpin for Comment
impl UnsafeUnpin for Comment
impl UnwindSafe for Comment
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