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