pub struct GitLabDiff {
pub old_path: String,
pub new_path: String,
pub new_file: bool,
pub renamed_file: bool,
pub deleted_file: bool,
pub diff: String,
}Fields§
§old_path: String§new_path: String§new_file: bool§renamed_file: bool§deleted_file: bool§diff: StringTrait Implementations§
Source§impl Clone for GitLabDiff
impl Clone for GitLabDiff
Source§fn clone(&self) -> GitLabDiff
fn clone(&self) -> GitLabDiff
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 GitLabDiff
impl Debug for GitLabDiff
Source§impl<'de> Deserialize<'de> for GitLabDiff
impl<'de> Deserialize<'de> for GitLabDiff
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 GitLabDiff
impl RefUnwindSafe for GitLabDiff
impl Send for GitLabDiff
impl Sync for GitLabDiff
impl Unpin for GitLabDiff
impl UnsafeUnpin for GitLabDiff
impl UnwindSafe for GitLabDiff
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