pub struct TimelineComment {Show 29 fields
pub assignee: Option<Box<User>>,
pub assignee_team: Option<Box<Team>>,
pub body: Option<String>,
pub created_at: Option<String>,
pub dependent_issue: Option<Box<Issue>>,
pub html_url: Option<String>,
pub id: Option<i64>,
pub issue_url: Option<String>,
pub label: Option<Box<Label>>,
pub milestone: Option<Box<Milestone>>,
pub new_ref: Option<String>,
pub new_title: Option<String>,
pub old_milestone: Option<Box<Milestone>>,
pub old_project_id: Option<i64>,
pub old_ref: Option<String>,
pub old_title: Option<String>,
pub project_id: Option<i64>,
pub pull_request_url: Option<String>,
pub ref_action: Option<String>,
pub ref_comment: Option<Box<Comment>>,
pub ref_commit_sha: Option<String>,
pub ref_issue: Option<Box<Issue>>,
pub removed_assignee: Option<bool>,
pub resolve_doer: Option<Box<User>>,
pub review_id: Option<i64>,
pub tracked_time: Option<Box<TrackedTime>>,
pub type: Option<String>,
pub updated_at: Option<String>,
pub user: Option<Box<User>>,
}
Expand description
TimelineComment : TimelineComment represents a timeline comment (comment of any type) on a commit or issue
Fields§
§assignee: Option<Box<User>>
§assignee_team: Option<Box<Team>>
§body: Option<String>
§created_at: Option<String>
§dependent_issue: Option<Box<Issue>>
§html_url: Option<String>
§id: Option<i64>
§issue_url: Option<String>
§label: Option<Box<Label>>
§milestone: Option<Box<Milestone>>
§new_ref: Option<String>
§new_title: Option<String>
§old_milestone: Option<Box<Milestone>>
§old_project_id: Option<i64>
§old_ref: Option<String>
§old_title: Option<String>
§project_id: Option<i64>
§pull_request_url: Option<String>
§ref_action: Option<String>
§ref_comment: Option<Box<Comment>>
§ref_commit_sha: Option<String>
commit SHA where issue/PR was referenced
ref_issue: Option<Box<Issue>>
§removed_assignee: Option<bool>
whether the assignees were removed or added
resolve_doer: Option<Box<User>>
§review_id: Option<i64>
§tracked_time: Option<Box<TrackedTime>>
§type: Option<String>
§updated_at: Option<String>
§user: Option<Box<User>>
Implementations§
Source§impl TimelineComment
impl TimelineComment
Sourcepub fn new() -> TimelineComment
pub fn new() -> TimelineComment
TimelineComment represents a timeline comment (comment of any type) on a commit or issue
Trait Implementations§
Source§impl Clone for TimelineComment
impl Clone for TimelineComment
Source§fn clone(&self) -> TimelineComment
fn clone(&self) -> TimelineComment
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 TimelineComment
impl Debug for TimelineComment
Source§impl Default for TimelineComment
impl Default for TimelineComment
Source§fn default() -> TimelineComment
fn default() -> TimelineComment
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for TimelineComment
impl<'de> Deserialize<'de> for TimelineComment
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 for TimelineComment
impl PartialEq for TimelineComment
Source§impl Serialize for TimelineComment
impl Serialize for TimelineComment
impl StructuralPartialEq for TimelineComment
Auto Trait Implementations§
impl Freeze for TimelineComment
impl RefUnwindSafe for TimelineComment
impl Send for TimelineComment
impl Sync for TimelineComment
impl Unpin for TimelineComment
impl UnwindSafe for TimelineComment
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