pub struct FileContentPatch {
pub hunks: Vec<FileContentPatchHunksItem>,
pub index: Option<String>,
pub new_file_name: String,
pub new_header: Option<String>,
pub old_file_name: String,
pub old_header: Option<String>,
}Fields§
§hunks: Vec<FileContentPatchHunksItem>§index: Option<String>§new_file_name: String§new_header: Option<String>§old_file_name: String§old_header: Option<String>Trait Implementations§
Source§impl Clone for FileContentPatch
impl Clone for FileContentPatch
Source§fn clone(&self) -> FileContentPatch
fn clone(&self) -> FileContentPatch
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 FileContentPatch
impl Debug for FileContentPatch
Source§impl<'de> Deserialize<'de> for FileContentPatch
impl<'de> Deserialize<'de> for FileContentPatch
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 FileContentPatch
impl PartialEq for FileContentPatch
Source§impl Serialize for FileContentPatch
impl Serialize for FileContentPatch
impl StructuralPartialEq for FileContentPatch
Auto Trait Implementations§
impl Freeze for FileContentPatch
impl RefUnwindSafe for FileContentPatch
impl Send for FileContentPatch
impl Sync for FileContentPatch
impl Unpin for FileContentPatch
impl UnsafeUnpin for FileContentPatch
impl UnwindSafe for FileContentPatch
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