Struct github_rest::model::discussions::DiscussionComment
source · pub struct DiscussionComment {
pub id: usize,
pub node_id: String,
pub html_url: String,
pub parent_id: Option<Value>,
pub child_comment_count: usize,
pub repository_url: String,
pub discussion_id: usize,
pub author_association: Association,
pub user: SimpleUser,
pub created_at: String,
pub updated_at: Option<String>,
pub body: String,
}
Fields§
§id: usize
§node_id: String
§html_url: String
§parent_id: Option<Value>
§child_comment_count: usize
§repository_url: String
§discussion_id: usize
§user: SimpleUser
§created_at: String
§updated_at: Option<String>
§body: String
Trait Implementations§
source§impl Clone for DiscussionComment
impl Clone for DiscussionComment
source§fn clone(&self) -> DiscussionComment
fn clone(&self) -> DiscussionComment
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 DiscussionComment
impl Debug for DiscussionComment
source§impl<'de> Deserialize<'de> for DiscussionComment
impl<'de> Deserialize<'de> for DiscussionComment
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<DiscussionComment> for DiscussionComment
impl PartialEq<DiscussionComment> for DiscussionComment
source§fn eq(&self, other: &DiscussionComment) -> bool
fn eq(&self, other: &DiscussionComment) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for DiscussionComment
impl Serialize for DiscussionComment
impl StructuralPartialEq for DiscussionComment
Auto Trait Implementations§
impl RefUnwindSafe for DiscussionComment
impl Send for DiscussionComment
impl Sync for DiscussionComment
impl Unpin for DiscussionComment
impl UnwindSafe for DiscussionComment
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