pub struct ProposedPatchChange {
pub path: String,
pub change_type: String,
pub move_to: Option<String>,
pub old_lines: Vec<String>,
pub new_lines: Vec<String>,
}Fields§
§path: String§change_type: String§move_to: Option<String>§old_lines: Vec<String>Requested context/removal lines, not the complete source file.
new_lines: Vec<String>Requested context/addition lines, not the complete resulting file.
Trait Implementations§
Source§impl Clone for ProposedPatchChange
impl Clone for ProposedPatchChange
Source§impl Debug for ProposedPatchChange
impl Debug for ProposedPatchChange
Source§impl<'de> Deserialize<'de> for ProposedPatchChange
impl<'de> Deserialize<'de> for ProposedPatchChange
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 ProposedPatchChange
impl PartialEq for ProposedPatchChange
Source§impl Serialize for ProposedPatchChange
impl Serialize for ProposedPatchChange
impl StructuralPartialEq for ProposedPatchChange
Auto Trait Implementations§
impl Freeze for ProposedPatchChange
impl RefUnwindSafe for ProposedPatchChange
impl Send for ProposedPatchChange
impl Sync for ProposedPatchChange
impl Unpin for ProposedPatchChange
impl UnsafeUnpin for ProposedPatchChange
impl UnwindSafe for ProposedPatchChange
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