pub struct CommitWithPathRenameDetails {
pub commit: Box<Commit>,
pub path_rename_details: Option<Option<Box<PathRenameDetails>>>,
}Fields§
§commit: Box<Commit>§path_rename_details: Option<Option<Box<PathRenameDetails>>>Implementations§
Source§impl CommitWithPathRenameDetails
impl CommitWithPathRenameDetails
pub fn new(commit: Commit) -> CommitWithPathRenameDetails
Trait Implementations§
Source§impl Clone for CommitWithPathRenameDetails
impl Clone for CommitWithPathRenameDetails
Source§fn clone(&self) -> CommitWithPathRenameDetails
fn clone(&self) -> CommitWithPathRenameDetails
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 CommitWithPathRenameDetails
impl Debug for CommitWithPathRenameDetails
Source§impl Default for CommitWithPathRenameDetails
impl Default for CommitWithPathRenameDetails
Source§fn default() -> CommitWithPathRenameDetails
fn default() -> CommitWithPathRenameDetails
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CommitWithPathRenameDetails
impl<'de> Deserialize<'de> for CommitWithPathRenameDetails
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 CommitWithPathRenameDetails
Auto Trait Implementations§
impl Freeze for CommitWithPathRenameDetails
impl RefUnwindSafe for CommitWithPathRenameDetails
impl Send for CommitWithPathRenameDetails
impl Sync for CommitWithPathRenameDetails
impl Unpin for CommitWithPathRenameDetails
impl UnwindSafe for CommitWithPathRenameDetails
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