pub struct PullRequestChangesGetBuilder { /* private fields */ }
Expand description
Builder for PullRequestChangesGet
.
Implementations§
Source§impl PullRequestChangesGetBuilder
impl PullRequestChangesGetBuilder
Sourcepub fn client(&mut self, value: Client) -> &mut Self
pub fn client(&mut self, value: Client) -> &mut Self
The HTTP client to use for making requests
Sourcepub fn project_key(&mut self, value: String) -> &mut Self
pub fn project_key(&mut self, value: String) -> &mut Self
The key of the project containing the repository
Sourcepub fn pull_request_id(&mut self, value: String) -> &mut Self
pub fn pull_request_id(&mut self, value: String) -> &mut Self
The ID of the pull request
Sourcepub fn repository_slug(&mut self, value: String) -> &mut Self
pub fn repository_slug(&mut self, value: String) -> &mut Self
The slug of the repository
Sourcepub fn since_id<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
pub fn since_id<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
The “since” commit hash to stream changes for a RANGE arbitrary change scope
Sourcepub fn change_scope<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
pub fn change_scope<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
UNREVIEWED to stream the unreviewed changes for the current user (if they exist); RANGE to stream changes between two arbitrary commits (requires ‘sinceId’ and ‘untilId’); otherwise ALL to stream all changes (the default)
Sourcepub fn until_id<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
pub fn until_id<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
The “until” commit hash to stream changes for a RANGE arbitrary change scope
Sourcepub fn start<VALUE: Into<u32>>(&mut self, value: VALUE) -> &mut Self
pub fn start<VALUE: Into<u32>>(&mut self, value: VALUE) -> &mut Self
Start number for the page (inclusive). If not passed, first page is assumed.
Sourcepub fn limit<VALUE: Into<u32>>(&mut self, value: VALUE) -> &mut Self
pub fn limit<VALUE: Into<u32>>(&mut self, value: VALUE) -> &mut Self
Number of items to return. If not passed, a page size of 25 is used.
Sourcepub fn with_comments<VALUE: Into<bool>>(&mut self, value: VALUE) -> &mut Self
pub fn with_comments<VALUE: Into<bool>>(&mut self, value: VALUE) -> &mut Self
If true, the response will include all comments on the changed files
Sourcepub fn build(
&self,
) -> Result<PullRequestChangesGet, PullRequestChangesGetBuilderError>
pub fn build( &self, ) -> Result<PullRequestChangesGet, PullRequestChangesGetBuilderError>
Trait Implementations§
Source§impl Clone for PullRequestChangesGetBuilder
impl Clone for PullRequestChangesGetBuilder
Source§fn clone(&self) -> PullRequestChangesGetBuilder
fn clone(&self) -> PullRequestChangesGetBuilder
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more