pub struct PullRequestDiffOptions {
pub binary: bool,
}Expand description
PullRequestDiffOptions options for GET /repos/<owner>/<repo>/pulls/<idx>.[diff|patch]
Options for Pull Request Diff Option.
Fields§
§binary: boolInclude binary file changes when requesting a .diff
Trait Implementations§
Source§impl Clone for PullRequestDiffOptions
impl Clone for PullRequestDiffOptions
Source§fn clone(&self) -> PullRequestDiffOptions
fn clone(&self) -> PullRequestDiffOptions
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 PullRequestDiffOptions
impl Debug for PullRequestDiffOptions
Source§impl Default for PullRequestDiffOptions
impl Default for PullRequestDiffOptions
Source§fn default() -> PullRequestDiffOptions
fn default() -> PullRequestDiffOptions
Returns the “default value” for a type. Read more
Source§impl QueryEncode for PullRequestDiffOptions
impl QueryEncode for PullRequestDiffOptions
Source§fn query_encode(&self) -> String
fn query_encode(&self) -> String
Returns URL query string (without leading
?)Auto Trait Implementations§
impl Freeze for PullRequestDiffOptions
impl RefUnwindSafe for PullRequestDiffOptions
impl Send for PullRequestDiffOptions
impl Sync for PullRequestDiffOptions
impl Unpin for PullRequestDiffOptions
impl UnsafeUnpin for PullRequestDiffOptions
impl UnwindSafe for PullRequestDiffOptions
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