pub struct DiffResponse {
pub repo: String,
pub number: u32,
pub base_sha: String,
pub head_sha: String,
pub total: u32,
pub files: Vec<GhDiffFile>,
}Expand description
GET /api/gh/diff.
Fields§
§repo: String§number: u32§base_sha: StringThe merge base: the old side of every patch.
head_sha: String§total: u32Changed files on GitHub.
files: Vec<GhDiffFile>Up to 3,000 (GitHub’s limit).
Trait Implementations§
Source§impl Clone for DiffResponse
impl Clone for DiffResponse
Source§impl Debug for DiffResponse
impl Debug for DiffResponse
Source§impl<'de> Deserialize<'de> for DiffResponse
impl<'de> Deserialize<'de> for DiffResponse
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 Eq for DiffResponse
Source§impl PartialEq for DiffResponse
impl PartialEq for DiffResponse
Source§impl Serialize for DiffResponse
impl Serialize for DiffResponse
impl StructuralPartialEq for DiffResponse
Auto Trait Implementations§
impl Forget for DiffResponse
impl Freeze for DiffResponse
impl Move for DiffResponse
impl RefUnwindSafe for DiffResponse
impl Send for DiffResponsewhere
RawVecInner: Send,
impl Sync for DiffResponsewhere
RawVecInner: Sync,
impl Unpin for DiffResponse
impl UnsafeUnpin for DiffResponsewhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<GhDiffFile>: UnsafeUnpin,
impl UnwindSafe for DiffResponsewhere
RawVecInner: UnwindSafe,
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.