pub struct FileDiscarded {
pub paths: Vec<String>,
pub restoration: Option<Restoration>,
}Expand description
file_discarded: the paths one sweep found deleted, and the way back.
paths stay the strings the writer spelled (file:<path>) rather
than Addresses, because git keeps names an
address refuses and a discard of such a file is still a discard.
Fields§
§paths: Vec<String>§restoration: Option<Restoration>Absent, or spelled in a scheme this build cannot name, reads as
None and the paths still read: a row without its way back is
still a file that is gone.
Trait Implementations§
Source§impl Clone for FileDiscarded
impl Clone for FileDiscarded
Source§impl Debug for FileDiscarded
impl Debug for FileDiscarded
Source§impl<'de> Deserialize<'de> for FileDiscarded
impl<'de> Deserialize<'de> for FileDiscarded
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 Eq for FileDiscarded
Source§impl PartialEq for FileDiscarded
impl PartialEq for FileDiscarded
Source§impl Serialize for FileDiscarded
impl Serialize for FileDiscarded
impl StructuralPartialEq for FileDiscarded
Auto Trait Implementations§
impl Freeze for FileDiscarded
impl RefUnwindSafe for FileDiscarded
impl Send for FileDiscarded
impl Sync for FileDiscarded
impl Unpin for FileDiscarded
impl UnsafeUnpin for FileDiscarded
impl UnwindSafe for FileDiscarded
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