pub struct CodeReviewVoteReferenceDiff {
pub branch_merge_proposal_link: Option<Url>,
pub comment_link: Option<Url>,
pub registrant_link: Option<Url>,
pub review_type: Option<String>,
pub reviewer_link: Option<Url>,
}Expand description
Representation of the code_review_vote_reference-diff resource
Fields§
§branch_merge_proposal_link: Option<Url>The merge proposal that is the subject of this vote
comment_link: Option<Url>The code review comment that contains the most recent vote.
registrant_link: Option<Url>The person who originally registered this vote
review_type: Option<String>Review type
Lowercase keywords describing the type of review.
reviewer_link: Option<Url>Reviewer
A person who you want to review this.
Implementations§
Source§impl CodeReviewVoteReferenceDiff
impl CodeReviewVoteReferenceDiff
Sourcepub fn branch_merge_proposal(&self) -> Option<BranchMergeProposal>
pub fn branch_merge_proposal(&self) -> Option<BranchMergeProposal>
The merge proposal that is the subject of this vote
pub fn set_branch_merge_proposal(&mut self, value: Option<BranchMergeProposal>)
Sourcepub fn comment(&self) -> Option<CodeReviewComment>
pub fn comment(&self) -> Option<CodeReviewComment>
The code review comment that contains the most recent vote.
pub fn set_comment(&mut self, value: Option<CodeReviewComment>)
Sourcepub fn registrant(&self) -> Option<Person>
pub fn registrant(&self) -> Option<Person>
The person who originally registered this vote
pub fn set_registrant(&mut self, value: Option<Person>)
pub fn set_reviewer(&mut self, value: Option<Person>)
Trait Implementations§
Source§impl Clone for CodeReviewVoteReferenceDiff
impl Clone for CodeReviewVoteReferenceDiff
Source§fn clone(&self) -> CodeReviewVoteReferenceDiff
fn clone(&self) -> CodeReviewVoteReferenceDiff
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 CodeReviewVoteReferenceDiff
impl Debug for CodeReviewVoteReferenceDiff
Source§impl<'de> Deserialize<'de> for CodeReviewVoteReferenceDiff
impl<'de> Deserialize<'de> for CodeReviewVoteReferenceDiff
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
impl StructuralPartialEq for CodeReviewVoteReferenceDiff
Auto Trait Implementations§
impl Freeze for CodeReviewVoteReferenceDiff
impl RefUnwindSafe for CodeReviewVoteReferenceDiff
impl Send for CodeReviewVoteReferenceDiff
impl Sync for CodeReviewVoteReferenceDiff
impl Unpin for CodeReviewVoteReferenceDiff
impl UnwindSafe for CodeReviewVoteReferenceDiff
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