pub struct FileCommentEntity {
pub id: Option<i64>,
pub body: Option<String>,
pub reactions: Option<Vec<FileCommentReactionEntity>>,
}
Expand description
Represents a comment on a file
Fields§
§id: Option<i64>
File comment ID
body: Option<String>
Comment body text
reactions: Option<Vec<FileCommentReactionEntity>>
Reactions to this comment
Trait Implementations§
Source§impl Clone for FileCommentEntity
impl Clone for FileCommentEntity
Source§fn clone(&self) -> FileCommentEntity
fn clone(&self) -> FileCommentEntity
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 FileCommentEntity
impl Debug for FileCommentEntity
Source§impl<'de> Deserialize<'de> for FileCommentEntity
impl<'de> Deserialize<'de> for FileCommentEntity
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 FileCommentEntity
impl RefUnwindSafe for FileCommentEntity
impl Send for FileCommentEntity
impl Sync for FileCommentEntity
impl Unpin for FileCommentEntity
impl UnwindSafe for FileCommentEntity
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