pub struct ApiCommitDiffFilePatch {
pub previous_filename: Option<String>,
pub deletions: Option<i64>,
pub patch: Option<String>,
pub additions: Option<i64>,
pub name: Option<String>,
pub path: Option<String>,
pub status: Option<String>,
pub previous_mode: Option<String>,
pub mode: Option<String>,
}
Expand description
ApiCommitDiffFilePatch 模型
Fields§
§previous_filename: Option<String>
§deletions: Option<i64>
§patch: Option<String>
§additions: Option<i64>
§name: Option<String>
§path: Option<String>
§status: Option<String>
§previous_mode: Option<String>
§mode: Option<String>
Trait Implementations§
Source§impl Clone for ApiCommitDiffFilePatch
impl Clone for ApiCommitDiffFilePatch
Source§fn clone(&self) -> ApiCommitDiffFilePatch
fn clone(&self) -> ApiCommitDiffFilePatch
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 ApiCommitDiffFilePatch
impl Debug for ApiCommitDiffFilePatch
Source§impl<'de> Deserialize<'de> for ApiCommitDiffFilePatch
impl<'de> Deserialize<'de> for ApiCommitDiffFilePatch
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
Auto Trait Implementations§
impl Freeze for ApiCommitDiffFilePatch
impl RefUnwindSafe for ApiCommitDiffFilePatch
impl Send for ApiCommitDiffFilePatch
impl Sync for ApiCommitDiffFilePatch
impl Unpin for ApiCommitDiffFilePatch
impl UnwindSafe for ApiCommitDiffFilePatch
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