pub struct GitChange {
pub change: Change,
pub change_id: Option<i32>,
pub new_content_template: Option<GitTemplate>,
pub original_path: Option<String>,
}Fields§
§change: Change§change_id: Option<i32>ID of the change within the group of changes.
new_content_template: Option<GitTemplate>§original_path: Option<String>Original path of item if different from current path.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for GitChange
impl<'de> Deserialize<'de> for GitChange
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
impl StructuralPartialEq for GitChange
Auto Trait Implementations§
impl Freeze for GitChange
impl RefUnwindSafe for GitChange
impl Send for GitChange
impl Sync for GitChange
impl Unpin for GitChange
impl UnwindSafe for GitChange
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