pub struct SimpleComment {
pub id: Option<i64>,
pub activity_id: Option<i64>,
pub text: Option<String>,
pub athlete: Option<SummaryAthlete>,
pub created_at: Option<DateTime<Utc>>,
}Fields§
§id: Option<i64>§activity_id: Option<i64>§text: Option<String>§athlete: Option<SummaryAthlete>§created_at: Option<DateTime<Utc>>Trait Implementations§
Source§impl Clone for SimpleComment
impl Clone for SimpleComment
Source§fn clone(&self) -> SimpleComment
fn clone(&self) -> SimpleComment
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 SimpleComment
impl Debug for SimpleComment
Source§impl<'de> Deserialize<'de> for SimpleComment
impl<'de> Deserialize<'de> for SimpleComment
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
Auto Trait Implementations§
impl Freeze for SimpleComment
impl RefUnwindSafe for SimpleComment
impl Send for SimpleComment
impl Sync for SimpleComment
impl Unpin for SimpleComment
impl UnsafeUnpin for SimpleComment
impl UnwindSafe for SimpleComment
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