pub struct WebDiffFile {
pub deletions: Option<i64>,
pub is_bin: Option<bool>,
pub change_type: Option<String>,
pub new_file: Option<Value>,
pub old_file: Option<Value>,
pub path: Option<String>,
pub file_index: Option<i64>,
pub sections: Option<Vec<Value>>,
pub insertions: Option<i64>,
pub old_path: Option<String>,
}
Expand description
WebDiffFile 模型
Fields§
§deletions: Option<i64>
§is_bin: Option<bool>
§change_type: Option<String>
§new_file: Option<Value>
§old_file: Option<Value>
§path: Option<String>
§file_index: Option<i64>
§sections: Option<Vec<Value>>
§insertions: Option<i64>
§old_path: Option<String>
Trait Implementations§
Source§impl Clone for WebDiffFile
impl Clone for WebDiffFile
Source§fn clone(&self) -> WebDiffFile
fn clone(&self) -> WebDiffFile
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 WebDiffFile
impl Debug for WebDiffFile
Source§impl<'de> Deserialize<'de> for WebDiffFile
impl<'de> Deserialize<'de> for WebDiffFile
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 WebDiffFile
impl RefUnwindSafe for WebDiffFile
impl Send for WebDiffFile
impl Sync for WebDiffFile
impl Unpin for WebDiffFile
impl UnwindSafe for WebDiffFile
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