pub struct TimelineReviewedEvent {Show 14 fields
pub event: String,
pub id: i32,
pub node_id: String,
pub user: Box<SimpleUser>,
pub body: Option<String>,
pub state: String,
pub html_url: String,
pub pull_request_url: String,
pub _links: Box<TimelineReviewedEventLinks>,
pub submitted_at: Option<String>,
pub commit_id: String,
pub body_html: Option<String>,
pub body_text: Option<String>,
pub author_association: AuthorAssociation,
}
Expand description
TimelineReviewedEvent : Timeline Reviewed Event
Fields§
§event: String
§id: i32
Unique identifier of the review
node_id: String
§user: Box<SimpleUser>
§body: Option<String>
The text of the review.
state: String
§html_url: String
§pull_request_url: String
§_links: Box<TimelineReviewedEventLinks>
§submitted_at: Option<String>
§commit_id: String
A commit SHA for the review.
body_html: Option<String>
§body_text: Option<String>
Implementations§
Source§impl TimelineReviewedEvent
impl TimelineReviewedEvent
Sourcepub fn new(
event: String,
id: i32,
node_id: String,
user: SimpleUser,
body: Option<String>,
state: String,
html_url: String,
pull_request_url: String,
_links: TimelineReviewedEventLinks,
commit_id: String,
author_association: AuthorAssociation,
) -> TimelineReviewedEvent
pub fn new( event: String, id: i32, node_id: String, user: SimpleUser, body: Option<String>, state: String, html_url: String, pull_request_url: String, _links: TimelineReviewedEventLinks, commit_id: String, author_association: AuthorAssociation, ) -> TimelineReviewedEvent
Timeline Reviewed Event
Trait Implementations§
Source§impl Clone for TimelineReviewedEvent
impl Clone for TimelineReviewedEvent
Source§fn clone(&self) -> TimelineReviewedEvent
fn clone(&self) -> TimelineReviewedEvent
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 TimelineReviewedEvent
impl Debug for TimelineReviewedEvent
Source§impl Default for TimelineReviewedEvent
impl Default for TimelineReviewedEvent
Source§fn default() -> TimelineReviewedEvent
fn default() -> TimelineReviewedEvent
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for TimelineReviewedEvent
impl<'de> Deserialize<'de> for TimelineReviewedEvent
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 TimelineReviewedEvent
impl PartialEq for TimelineReviewedEvent
Source§impl Serialize for TimelineReviewedEvent
impl Serialize for TimelineReviewedEvent
impl StructuralPartialEq for TimelineReviewedEvent
Auto Trait Implementations§
impl Freeze for TimelineReviewedEvent
impl RefUnwindSafe for TimelineReviewedEvent
impl Send for TimelineReviewedEvent
impl Sync for TimelineReviewedEvent
impl Unpin for TimelineReviewedEvent
impl UnwindSafe for TimelineReviewedEvent
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