pub struct PathRenameDetails {
pub commit_sha_after: Option<String>,
pub commit_sha_before: Option<String>,
pub old_path: String,
pub path: String,
}Fields§
§commit_sha_after: Option<String>§commit_sha_before: Option<String>§old_path: String§path: StringImplementations§
Source§impl PathRenameDetails
impl PathRenameDetails
pub fn new(old_path: String, path: String) -> PathRenameDetails
Trait Implementations§
Source§impl Clone for PathRenameDetails
impl Clone for PathRenameDetails
Source§fn clone(&self) -> PathRenameDetails
fn clone(&self) -> PathRenameDetails
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 PathRenameDetails
impl Debug for PathRenameDetails
Source§impl Default for PathRenameDetails
impl Default for PathRenameDetails
Source§fn default() -> PathRenameDetails
fn default() -> PathRenameDetails
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PathRenameDetails
impl<'de> Deserialize<'de> for PathRenameDetails
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 PathRenameDetails
impl PartialEq for PathRenameDetails
Source§impl Serialize for PathRenameDetails
impl Serialize for PathRenameDetails
impl StructuralPartialEq for PathRenameDetails
Auto Trait Implementations§
impl Freeze for PathRenameDetails
impl RefUnwindSafe for PathRenameDetails
impl Send for PathRenameDetails
impl Sync for PathRenameDetails
impl Unpin for PathRenameDetails
impl UnwindSafe for PathRenameDetails
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