pub struct BranchMergeProposalFull {Show 34 fields
    pub self_link: Option<Url>,
    pub web_link: Option<Url>,
    pub resource_type_link: Option<Url>,
    pub http_etag: Option<String>,
    pub address: String,
    pub all_comments_collection_link: Url,
    pub commit_message: String,
    pub date_created: DateTime<Utc>,
    pub date_merged: DateTime<Utc>,
    pub date_review_requested: DateTime<Utc>,
    pub date_reviewed: DateTime<Utc>,
    pub description: String,
    pub merge_reporter_link: Url,
    pub merged_revision_id: String,
    pub merged_revno: i64,
    pub prerequisite_branch_link: Url,
    pub prerequisite_git_path: String,
    pub prerequisite_git_repository_link: Url,
    pub preview_diff_link: Url,
    pub preview_diffs_collection_link: Url,
    pub private: bool,
    pub queue_status: MergeProposalStatus,
    pub registrant_link: Url,
    pub reviewed_revid: String,
    pub reviewer_link: Url,
    pub source_branch_link: Url,
    pub source_git_path: String,
    pub source_git_repository_link: Url,
    pub superseded_by_link: Url,
    pub supersedes_link: Url,
    pub target_branch_link: Url,
    pub target_git_path: String,
    pub target_git_repository_link: Url,
    pub votes_collection_link: Url,
}Expand description
Representation of the branch_merge_proposal-full resource
Fields§
§self_link: Option<Url>The canonical link to this resource.
web_link: Option<Url>The canonical human-addressable web link to this resource.
resource_type_link: Option<Url>The link to the WADL description of this resource.
http_etag: Option<String>The value of the HTTP ETag for this resource.
address: StringThe email address for this proposal.
Any emails sent to this address will resultin comments being added.
all_comments_collection_link: UrlAll messages discussing this merge proposal
commit_message: StringCommit message
The commit message that should be used when merging the source branch.
date_created: DateTime<Utc>Date created
date_merged: DateTime<Utc>Date merged
The date that the source branch was merged into the target branch
date_review_requested: DateTime<Utc>Date review requested
date_reviewed: DateTime<Utc>Date reviewed
description: StringDescription
A detailed description of the changes that are being addressed by the branch being proposed to be merged.
merge_reporter_link: UrlMerge reporter
The user that marked the branch as merged.
merged_revision_id: StringMerged revision ID
The revision ID on the target branch which contains the merge from the source branch (currently Git only).
merged_revno: i64Merged revision number
The revision number on the target branch which contains the merge from the source branch (Bazaar only).
prerequisite_branch_link: UrlPrerequisite branch
The branch that the source branch branched from. If this branch is the same as the target branch, then leave this field blank.
prerequisite_git_path: StringPrerequisite Git branch path
The path of the Git branch that the source branch branched from. If this branch is the same as the target branch, then leave this field blank.
prerequisite_git_repository_link: UrlPrerequisite Git repository
The Git repository containing the branch that the source branch branched from. If this branch is the same as the target branch, then leave this field blank.
preview_diff_link: UrlThe current diff of the source branch against the target branch.
preview_diffs_collection_link: UrlAll preview diffs for this merge proposal.
private: boolProposal is confidential
If True, this proposal is visible only to subscribers.
queue_status: MergeProposalStatusStatus
The current state of the proposal.
registrant_link: UrlPerson
The person who registered the merge proposal.
reviewed_revid: StringThe revision id that has been approved by the reviewer.
reviewer_link: UrlReview person or team
The person that accepted (or rejected) the code for merging.
source_branch_link: UrlSource branch
The branch that has code to land.
source_git_path: StringSource Git branch path
The path of the Git branch that has code to land.
source_git_repository_link: UrlSource Git repository
The Git repository that has code to land.
superseded_by_link: UrlSuperseded by
The branch merge proposal that supersedes this one.
supersedes_link: UrlSupersedes
The branch merge proposal that this one supersedes.
target_branch_link: UrlTarget branch
The branch that the source branch will be merged into.
target_git_path: StringTarget Git branch path
The path of the Git branch that the source branch will be merged into.
target_git_repository_link: UrlTarget Git repository
The Git repository that the source branch will be merged into.
votes_collection_link: UrlThe votes cast or expected for this proposal
Implementations§
source§impl BranchMergeProposalFull
 
impl BranchMergeProposalFull
sourcepub fn self_(&self) -> Option<BranchMergeProposal>
 
pub fn self_(&self) -> Option<BranchMergeProposal>
The canonical link to this resource.
pub fn set_self_(&mut self, value: Option<BranchMergeProposal>)
sourcepub fn all_comments<'a>(
    &'a self,
    client: &'a dyn Client,
) -> Result<PagedCollection<'a, CodeReviewCommentPage>, Error>
 
pub fn all_comments<'a>( &'a self, client: &'a dyn Client, ) -> Result<PagedCollection<'a, CodeReviewCommentPage>, Error>
All messages discussing this merge proposal
sourcepub fn merge_reporter(&self) -> Person
 
pub fn merge_reporter(&self) -> Person
Merge reporter
The user that marked the branch as merged.
pub fn set_merge_reporter(&mut self, value: Person)
sourcepub fn prerequisite_branch(&self) -> Branch
 
pub fn prerequisite_branch(&self) -> Branch
Prerequisite branch
The branch that the source branch branched from. If this branch is the same as the target branch, then leave this field blank.
pub fn set_prerequisite_branch(&mut self, value: Branch)
sourcepub fn prerequisite_git_repository(&self) -> GitRepository
 
pub fn prerequisite_git_repository(&self) -> GitRepository
Prerequisite Git repository
The Git repository containing the branch that the source branch branched from. If this branch is the same as the target branch, then leave this field blank.
pub fn set_prerequisite_git_repository(&mut self, value: GitRepository)
sourcepub fn preview_diff(&self) -> PreviewDiff
 
pub fn preview_diff(&self) -> PreviewDiff
The current diff of the source branch against the target branch.
pub fn set_preview_diff(&mut self, value: PreviewDiff)
sourcepub fn preview_diffs<'a>(
    &'a self,
    client: &'a dyn Client,
) -> Result<PagedCollection<'a, PreviewDiffPage>, Error>
 
pub fn preview_diffs<'a>( &'a self, client: &'a dyn Client, ) -> Result<PagedCollection<'a, PreviewDiffPage>, Error>
All preview diffs for this merge proposal.
sourcepub fn registrant(&self) -> Person
 
pub fn registrant(&self) -> Person
Person
The person who registered the merge proposal.
pub fn set_registrant(&mut self, value: Person)
sourcepub fn reviewer(&self) -> Person
 
pub fn reviewer(&self) -> Person
Review person or team
The person that accepted (or rejected) the code for merging.
pub fn set_reviewer(&mut self, value: Person)
sourcepub fn source_branch(&self) -> Branch
 
pub fn source_branch(&self) -> Branch
Source branch
The branch that has code to land.
pub fn set_source_branch(&mut self, value: Branch)
sourcepub fn source_git_repository(&self) -> GitRepository
 
pub fn source_git_repository(&self) -> GitRepository
Source Git repository
The Git repository that has code to land.
pub fn set_source_git_repository(&mut self, value: GitRepository)
sourcepub fn superseded_by(&self) -> BranchMergeProposal
 
pub fn superseded_by(&self) -> BranchMergeProposal
Superseded by
The branch merge proposal that supersedes this one.
pub fn set_superseded_by(&mut self, value: BranchMergeProposal)
sourcepub fn supersedes(&self) -> BranchMergeProposal
 
pub fn supersedes(&self) -> BranchMergeProposal
Supersedes
The branch merge proposal that this one supersedes.
pub fn set_supersedes(&mut self, value: BranchMergeProposal)
sourcepub fn target_branch(&self) -> Branch
 
pub fn target_branch(&self) -> Branch
Target branch
The branch that the source branch will be merged into.
pub fn set_target_branch(&mut self, value: Branch)
sourcepub fn target_git_repository(&self) -> GitRepository
 
pub fn target_git_repository(&self) -> GitRepository
Target Git repository
The Git repository that the source branch will be merged into.
pub fn set_target_git_repository(&mut self, value: GitRepository)
sourcepub fn votes<'a>(
    &'a self,
    client: &'a dyn Client,
) -> Result<PagedCollection<'a, CodeReviewVoteReferencePage>, Error>
 
pub fn votes<'a>( &'a self, client: &'a dyn Client, ) -> Result<PagedCollection<'a, CodeReviewVoteReferencePage>, Error>
The votes cast or expected for this proposal
Trait Implementations§
source§impl Clone for BranchMergeProposalFull
 
impl Clone for BranchMergeProposalFull
source§fn clone(&self) -> BranchMergeProposalFull
 
fn clone(&self) -> BranchMergeProposalFull
1.6.0 · source§fn clone_from(&mut self, source: &Self)
 
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for BranchMergeProposalFull
 
impl Debug for BranchMergeProposalFull
source§impl<'de> Deserialize<'de> for BranchMergeProposalFull
 
impl<'de> Deserialize<'de> for BranchMergeProposalFull
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>,
source§impl PartialEq for BranchMergeProposalFull
 
impl PartialEq for BranchMergeProposalFull
source§impl Serialize for BranchMergeProposalFull
 
impl Serialize for BranchMergeProposalFull
impl StructuralPartialEq for BranchMergeProposalFull
Auto Trait Implementations§
impl Freeze for BranchMergeProposalFull
impl RefUnwindSafe for BranchMergeProposalFull
impl Send for BranchMergeProposalFull
impl Sync for BranchMergeProposalFull
impl Unpin for BranchMergeProposalFull
impl UnwindSafe for BranchMergeProposalFull
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
source§impl<T> CloneToUninit for Twhere
    T: Clone,
 
impl<T> CloneToUninit for Twhere
    T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
 
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)