pub struct PathDetails {
pub last_commit: Box<Commit>,
pub path: String,
}Fields§
§last_commit: Box<Commit>§path: StringImplementations§
Source§impl PathDetails
impl PathDetails
pub fn new(last_commit: Commit, path: String) -> PathDetails
Trait Implementations§
Source§impl Clone for PathDetails
impl Clone for PathDetails
Source§fn clone(&self) -> PathDetails
fn clone(&self) -> PathDetails
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PathDetails
impl Debug for PathDetails
Source§impl Default for PathDetails
impl Default for PathDetails
Source§fn default() -> PathDetails
fn default() -> PathDetails
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PathDetails
impl<'de> Deserialize<'de> for PathDetails
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 PathDetails
impl PartialEq for PathDetails
Source§impl Serialize for PathDetails
impl Serialize for PathDetails
impl StructuralPartialEq for PathDetails
Auto Trait Implementations§
impl Freeze for PathDetails
impl RefUnwindSafe for PathDetails
impl Send for PathDetails
impl Sync for PathDetails
impl Unpin for PathDetails
impl UnwindSafe for PathDetails
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)