pub struct ChangedFile {
pub additions: Option<i64>,
pub changes: Option<i64>,
pub contents_url: Option<String>,
pub deletions: Option<i64>,
pub filename: Option<String>,
pub html_url: Option<String>,
pub previous_filename: Option<String>,
pub raw_url: Option<String>,
pub status: Option<String>,
}
Expand description
ChangedFile : ChangedFile store information about files affected by the pull request
Fields§
§additions: Option<i64>
§changes: Option<i64>
§contents_url: Option<String>
§deletions: Option<i64>
§filename: Option<String>
§html_url: Option<String>
§previous_filename: Option<String>
§raw_url: Option<String>
§status: Option<String>
Implementations§
Source§impl ChangedFile
impl ChangedFile
Sourcepub fn new() -> ChangedFile
pub fn new() -> ChangedFile
ChangedFile store information about files affected by the pull request
Trait Implementations§
Source§impl Clone for ChangedFile
impl Clone for ChangedFile
Source§fn clone(&self) -> ChangedFile
fn clone(&self) -> ChangedFile
Returns a copy 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 ChangedFile
impl Debug for ChangedFile
Source§impl Default for ChangedFile
impl Default for ChangedFile
Source§fn default() -> ChangedFile
fn default() -> ChangedFile
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ChangedFile
impl<'de> Deserialize<'de> for ChangedFile
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 ChangedFile
impl PartialEq for ChangedFile
Source§impl Serialize for ChangedFile
impl Serialize for ChangedFile
impl StructuralPartialEq for ChangedFile
Auto Trait Implementations§
impl Freeze for ChangedFile
impl RefUnwindSafe for ChangedFile
impl Send for ChangedFile
impl Sync for ChangedFile
impl Unpin for ChangedFile
impl UnwindSafe for ChangedFile
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