pub struct PullRequestChanges {
pub from_hash: String,
pub to_hash: String,
pub values: Option<Vec<ChangeItem>>,
}
Expand description
Represents the changes in a pull request.
This struct contains information about the changes between the source and target branches of a pull request, including the list of modified files.
Fields§
§from_hash: String
The commit hash of the source branch
to_hash: String
The commit hash of the target branch
values: Option<Vec<ChangeItem>>
Array of changes (files that were modified, added, or deleted)
Trait Implementations§
Source§impl Clone for PullRequestChanges
impl Clone for PullRequestChanges
Source§fn clone(&self) -> PullRequestChanges
fn clone(&self) -> PullRequestChanges
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 PullRequestChanges
impl Debug for PullRequestChanges
Source§impl<'de> Deserialize<'de> for PullRequestChanges
impl<'de> Deserialize<'de> for PullRequestChanges
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 PullRequestChanges
impl PartialEq for PullRequestChanges
Source§impl Serialize for PullRequestChanges
impl Serialize for PullRequestChanges
impl StructuralPartialEq for PullRequestChanges
Auto Trait Implementations§
impl Freeze for PullRequestChanges
impl RefUnwindSafe for PullRequestChanges
impl Send for PullRequestChanges
impl Sync for PullRequestChanges
impl Unpin for PullRequestChanges
impl UnwindSafe for PullRequestChanges
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